Skip to content

sanand0/rustom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Aurora

A real-time procedural cosmos running directly in your terminal.

rust_aurora renders a seeded, animated ASCII universe with drifting energy fields, orbiting gravity sources, and color gradients that shift like aurora light.

Run

cargo run --release --bin rust_aurora -- --seed 42 --seconds 25 --fps 40 --orbiters 7 --mode hyperdrive --palette inferno

Options

  • --seed <u64>: deterministic universe layout
  • --width <usize>: render width (default from $COLUMNS, clamped)
  • --height <usize>: render height (default from $LINES, clamped)
  • --fps <u32>: target frame rate
  • --seconds <f32>: animation duration
  • --orbiters <usize>: number of moving gravity wells
  • --mode <name>: aurora, nebula, or hyperdrive
  • --palette <name>: aurora, inferno, or glacier

Quick Presets

# cinematic slow drift
cargo run --release --bin rust_aurora -- --seed 1337 --fps 24 --seconds 30 --orbiters 5 --mode nebula --palette glacier

# intense turbulence
cargo run --release --bin rust_aurora -- --seed 99 --fps 60 --seconds 20 --orbiters 12 --mode hyperdrive --palette inferno

# original signature look
cargo run --release --bin rust_aurora -- --seed 7 --fps 35 --seconds 20 --orbiters 6 --mode aurora --palette aurora

Press Ctrl+C to stop early.

LumenForge

A second app in this repo: a CPU path tracer that renders cinematic still images to PPM.

Quick Start

# fast preview
cargo run --release --bin lumenforge -- --scene orbit --quality draft --width 960 --height 540 --threads 8 --output orbit.ppm

# high-quality final frame
cargo run --release --bin lumenforge -- --scene monolith --quality insane --width 1920 --height 1080 --threads 16 --output monolith.ppm

CLI Options

  • --scene <name>: gallery, orbit, monolith
  • --quality <name>: draft, film, insane
  • --samples <usize>: override samples-per-pixel for custom quality
  • --bounces <usize>: override max path bounces
  • --threads <usize>: CPU worker count (default = available cores)
  • --seed <u64>: deterministic render seed
  • --width <usize> / --height <usize>: output resolution
  • --output <file>: output path (.ppm)

Convert to PNG

magick monolith.ppm monolith.png

SonicLoom

A third app in this repo: a procedural song composer + synthesizer that renders full stereo tracks to WAV.

Quick Start

# neon retro groove
cargo run --release --bin sonicloom -- --style neon --seconds 60 --bpm 116 --swing 0.09 --seed 7 --output neon.wav

# atmospheric generative score
cargo run --release --bin sonicloom -- --style ambient --seconds 90 --bpm 78 --swing 0.04 --seed 1337 --output ambient.wav

# high-energy broken-beat sequence
cargo run --release --bin sonicloom -- --style fractal --seconds 75 --bpm 132 --swing 0.14 --seed 42 --output fractal.wav --arrangement-out fractal.json

CLI Options

  • --style <name>: neon, ambient, fractal
  • --seconds <f32>: track length
  • --bpm <f32>: tempo
  • --swing <f32>: rhythmic swing amount (0.0 to 0.45)
  • --sample-rate <u32>: output sample rate
  • --seed <u64>: deterministic generation seed
  • --output <file>: output .wav file path
  • --arrangement-out <file>: export composition metadata as JSON

Convert to MP3

ffmpeg -i fractal.wav -codec:a libmp3lame -q:a 2 fractal.mp3

PrismDash

A fourth app in this repo: an ultra-fast, modern Rust TUI operations dashboard with animated truecolor visuals.

Quick Start

cargo run --release --bin prismdash

Interaction

  • q / Esc: quit
  • p or Space: pause/resume simulation
  • m: cycle scenario (Observe, Burst, Incident Replay)
  • t: cycle visual theme
  • + / -: adjust target frame rate
  • [ / ]: adjust simulation speed
  • r: reseed simulation universe

Design Notes

  • Information hierarchy is triage-first: summary KPIs first, trend context second, root-cause panels third.
  • Uses dense Unicode + 24-bit color for “GPU terminal” rendering (Braille charts + heatmap cells).
  • Rust enables high refresh with predictable latency via a tight event/render loop and low-overhead state updates.

Session Prompts

All prompts from this build session are listed in prompts.md.

About

What would AI vibe code in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages