A gradient generator prototype built with Rust + WebAssembly for creative visual effects.
Try it here: https://landonikko.github.io/Gradient-Generator
Rust + WebAssembly
Gradient generation
Real-time Controls
Sliders, presets
Interactive Canvas
Drag to pan and scroll to zoom
Option 1 - Live Demo
git clone https://github.com/LandoNikko/Gradient-Generator.gitpython -m http.server 8000or openindex.html
Install Prerequisites
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install wasm-pack
cargo install wasm-packBuild the Project
# Windows
build.bat
# Unix/Linux/macOS
wasm-pack build --target web --out-dir pkg --release├── index.html # Main web interface
├── app.js # Logic
├── styles.css # Styling
├── Cargo.toml # Rust project configuration
├── build.bat # Windows build script
├── src/
│ └── lib.rs # Rust WebAssembly source
└── pkg/ # Generated WebAssembly files
├── gradient_noise_wasm.js
├── gradient_noise_wasm_bg.wasm
└── *.d.ts
Rust
Core gradient algorithms
WebAssembly
Browser performance
SIMD
Parallel processing
Rayon
Multi-core utilization
Fork, create a feature branch, make changes and submit a pull request.
MIT License - see LICENSE file for details
