Skip to content

Velfi/Rust-Vector-Field-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Field Noise Visualizer

A visualizer to see what kinds of shapes different noise algorithms make.

The noise algorithms demonstrated are:

  • Heterogenous Multifractal Noise
  • Billowy Noise
  • Checkerboard Noise
  • Fractal Brownian Motion Noise
  • Hybrid Multifractal Noise
  • Open Simplex Noise
  • Perlin Noise
  • Value Noise
  • Worley Noise

example

Running The Visualizer

You'll need to have Rust and cargo installed. Then, run cargo run --release in you terminal of choice.

Controls

key what it does
N and B Cycle forward and back through Noise types
J and K Cycle forward and back through Visualizer types
+ and - Zoom in and out by changing the "scale" of the noise
] and [ Speed up or slow down the rate of change
Arrow Keys Move around by offsetting generated noise
O Reset your offset back to the origin
R Reset speed, scale, and offset
H Show or hide the help screen
R Reset everything
H Show or hide this help screen
X Render the current vectors to an SVG
Esc Quit and return to the desktop

For SVG export to work, you must set the SVG_EXPORT_DIRECTORY environment variable to a valid directory.

About

An interactive visualization of a random vector fields

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages