展示 HN:Rust 中的柏林噪声终端动画(60 FPS,真彩色)
Show HN: Perlin Noise Terminal Animation in Rust (60 FPS, Truecolor)

原始链接: https://github.com/denisepattenson/perlin-terminal

## Perlin Terminal:你的命令行中的精美噪声 Perlin Terminal 使用 24 位真彩色和半块字符,将令人惊叹、流畅的 Perlin 噪声动画直接带到你的终端,从而提高视觉保真度。享受流畅的 60 FPS 的流动渐变和有机运动。 该程序提供多种颜色主题——海洋、火焰、极光和矩阵——每种主题都能创造出独特而迷人的效果。它易于自定义,可调整噪声比例、动画速度,甚至 Perlin 噪声种子。 安装很简单,可以使用 `cargo install --git https://github.com/denisepattenson/perlin-terminal` 或从源代码构建。使用 `--theme` 和 `--scale` 等标志控制动画,并使用 Ctrl+C、Q 或 Esc 干净地退出。需要支持 24 位真色彩的终端和 Rust 1.70+。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Show HN: Rust 的 Perlin 噪声终端动画(60 FPS,真彩色)(github.com/denisepattenson) 8 分,denisepattenson 发布 57 分钟前 | 隐藏 | 过去 | 收藏 | 3 条评论 帮助 villgax 2 分钟前 | 下一个 [–] Denise 我的朋友,请在 README 中添加一些截图。回复 fc417fc802 13 分钟前 | 上一个 | 下一个 [–] 没有演示视频吗?我很感兴趣,但没那么感兴趣。回复 thanatos519 17 分钟前 | 上一个 [–] 这很酷。在我的 320x90 kitty 中运行良好!回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Beautiful Perlin noise animation for your terminal. Smooth, flowing gradients rendered in 24-bit truecolor using half-block characters for double vertical resolution.

Demo

  • Truecolor rendering — Full 24-bit RGB color gradients
  • Double vertical resolution — Uses half-block characters to render 2 pixels per cell
  • Multiple color themes — Ocean, Fire, Aurora, Matrix
  • Smooth animation — Multi-octave Perlin noise for organic, flowing motion
  • 60 FPS — Optimized for smooth rendering
  • Responsive — Handles terminal resize gracefully
  • Clean exit — Ctrl+C / Q / Esc restores terminal state
cargo install --git https://github.com/denisepattenson/perlin-terminal

Or build from source:

git clone https://github.com/denisepattenson/perlin-terminal
cd perlin-terminal
cargo build --release
./target/release/perlin-terminal
# Default ocean theme
perlin-terminal

# Fire theme
perlin-terminal --theme fire

# Aurora borealis
perlin-terminal --theme aurora

# Matrix-style green
perlin-terminal --theme matrix

# Customize noise and speed
perlin-terminal --theme fire --scale 0.04 --speed 0.8
Flag Default Description
-t, --theme ocean Color theme: ocean, fire, aurora, matrix
-s, --scale 0.06 Noise scale (smaller = more zoomed in)
--speed 0.4 Animation speed multiplier
--fps 60 Target frames per second
--seed 42 Perlin noise seed
  • Q or Esc — Quit
  • Ctrl+C — Quit

Deep navy → royal blue → teal → cyan. Calm and mesmerizing.

Black → deep red → orange → yellow → white. Like staring into embers.

Purple → teal → green → pink. Northern lights in your terminal.

Black → dark green → bright green. You know the one.

  • A terminal with 24-bit truecolor support (most modern terminals)
  • Rust 1.70+

MIT

联系我们 contact @ memedata.com