altunenes
rusty_art
Rust

Creative coding and visual illusions in Rust.

Last updated Jul 1, 2026
220
Stars
7
Forks
4
Issues
+1
Stars/day
Attention Score
24
Language breakdown
No language data available.
β–Έ Files click to expand
README

Rusty_Art 🌈 🎨 πŸ¦€

Rust Build & Release banner

I migrated to my own shader engine cuneus

reason: I liked Nannou a lot, I learned Rust thanks to Nannou and awesome devs, but unfortunately it's not being developed anymore. That's why I don't want to stay in very old versions of wgpu so that I can follow recent updates more easily and get more comfortable exports, use atomics, set multi-pass, wasm, hot reload etc... :-)

Creative coding with Rust! πŸ¦€

In this repository, I will create animations and optical illusions that allow for the generation of various patterns in my spare time. So, this repo is consistently updated and current πŸ™‚

Most of my files feature a graphical user interface (GUI), enabling real-time adjustments to the animations and opening up the possibility of creating thousands of unique patterns. With egui, you can also include your own textures or images without needing to hard-code changes.

I hope you enjoy it!

πŸš€ Usage/Installation:

Easy Setup with Precompiled Binaries

  • Go to the Releases.
  • Download the binary for your operating system (Windows, macOS, or Linux) under the Assets section & Unzip the downloaded file.
  • Run the executable corresponding to the animation you want to enjoy!
This is the simplest way to run animations without any setup or compilation. πŸ™‚

Compiling from Source

git clone https://github.com/altunenes/rusty_art.git
        cd rusty_art
        cargo run --release --bin <filename>

That's it! If you encounter any issues while opening/running files, feel free to contact me. πŸ™‚

Shortcuts πŸš€

  • Spacebar: Hold down to save each frame as a PNG image into the "frames" folder automatically created in your current directory. These can be used later to create high-resolution videos. (for now, only works from source)
  • F: Toggle fullscreen mode.
  • H: Hide or show the user interface.
  • Mouse Wheel: Zoom in and out. Note: This feature is not available for all animations.

Warning ⚠️

I only tested these codes on my notebook with the following specs:

Windows & Ubuntu:

  • CPU: Ryzen 7 6800h
  • Ram: DDR5 16GB
  • GPU: Nvidia RTX 3060 mobile
Apple M3 Air 16GB
  • (in full screen, some expensive animations could be laggy)
And I must say that some of the files are very computationally intensive. So, if you have a relatively "low-end" computer, you may not be able to run some of the scripts smoothly. And please don't run the files on your computer if you don't have a good cooling system. I don't want to be responsible for any damage to your computer. πŸ˜…

Always open if you have any suggestions or "cheap" tricks (in terms of reducing computational complexity) to improve the performance of the animations. 😊

πŸ–ΌοΈ Some Examples:

Click on the images to open the videos 😊

| Attractors | Expensive Mandelbrot | Ernst Chladni's Plate Experiments | |:---:|:---:|:---:| | Attractors Code|mandelbrot Code| Erns Chladni's Plate Experiments Code |

| Draw something with Fourier Cycloid | Fake Fluid Dynamics | Hilbert Curve Image | |:---:|:---:|:---:| | Draw something with Fourier Cycloid Code | Fake Fluid Dynamics Code | Hilbert Curve Image Code |

| Ray Marching Neuron| Munker Illusion | Neuron Simulation | |:---:|:---:|:---:| | 3D Neuron Code | Munker Illusion Clock Code | Neuron Simulation Code |

| Snowflake | Voronoi Image | Galaxy | |:---:|:---:|:---:| | Snowflake Code | Voronoi Image Code | Galaxy Code |

| Reverse Phi Motion | 🌈 Gabor Patch | Asahi illusion | |:---:|:---:|:---:| | Reverse Phi Code | Gabor Patch Code | Asahi illusion Code |

| Love WGPU | Lorenz System | Neural Net | |:---:|:---:|:---:| | Love WGPU Code | Lorenz Code | Neural Net Code |

| Pinna illusion| oscillation | lensing | |:---:|:---:|:---:| | Pinna Code | oscillation Code | imlens Code |

| fourier | sinh | tree | |:---:|:---:|:---:| | fourier Code | sinh Code | tree Code |

| Cafewall Illusion | lilac chaser illusion | Peace | |:---:|:---:|:---:| | Cafewall Illusion Code | lilac Code | tree Code |

| imgblob | Leviant's Optical Illusion | ULAM Spiral | |:---:|:---:|:---:| | imblob Code | Leviant Code | ULAM Code |

| alien brain | mandelbulb | Signed Distance Field psychology Ξ¨ | |:---:|:---:|:---:| | darkclouds Code | mandelbulb Code | blobs Code |

| Gaussian Splats: SLIC superpixels Guide.| sin julia | psychedelic tunnel | |:---:|:---:|:---:| | splats Code | nebula Code | tunnel Code |

| Smooth voronoi | Gabor Lines illusion | Fake tunnel | |:---:|:---:|:---:| | svoro Code | nebula Code | faketunnelCode |

| Wrapper | Galaxy2 | GPU attractors | |:---:|:---:|:---:| | wrapper Code | galaxy2 Code | GPUattractorCode |

| Adelson's 3D Illusion | Orbit Traps | Golf | |:---:|:---:|:---:| | adelson Code | orbits Code | GolfCode |

| πŸŽ„2025πŸŽ„ | ❄️winterflake❄️ | sdrect | |:---:|:---:|:---:| | 2025tree Code | winterflake Code | sdrectCode |

πŸ”— More in this category

Β© 2026 GitRepoTrend Β· altunenes/rusty_art Β· Updated daily from GitHub