Creative coding and optical illusions in Rust.
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 to create 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!
This is the simplest way to enjoy rusty_art
animations without any setup or compilation. 🙂
```
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. 😊
I only tested these codes on my notebook with the following specs:
CPU: Ryzen 7 6800h Ram: DDR5 16GB GPU: Nvidia RTX 3060 mobile
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. I'm sorry about that. 😔 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. 😊
Click on the images to open the videos 😊
Attractors | Expensive Mandelbrot | Ernst Chladni's Plate Experiments |
---|---|---|
Code | Code | Code |
Draw something with Fourier Cycloid | Fake Fluid Dynamics | Hilbert Curve Image |
---|---|---|
Code | Code | Code |
3D Neuron | Munker Illusion | Neuron Simulation |
---|---|---|
Code | Code | Code |
Snowflake | Voronoi Image | Galaxy |
---|---|---|
Code | Code | Code |
Reverse Phi Motion | Gabor Patch | Asahi illusion |
---|---|---|
Code | Code | Code |
Love WGPU | Lorenz System | Neural Net |
---|---|---|
Code | Code | Code |
Pinna illusion | oscillation | lensing |
---|---|---|
Code | Code | Code |
fourier | sinh | tree |
---|---|---|
Code | Code | Code |
Cafewall Illusion | lilac chaser illusion | Peace2 |
---|---|---|
Code | Code | Code |
imgblob | Leviant's Optical Illusion | ULAM Spiral |
---|---|---|
Code | Code | Code |
alien brain | Kinetic Pupils | SDF psychology Ψ |
---|---|---|
Code | Code | Code |
Gaussian Splats | nebula Fractal | tunnel |
---|---|---|
Code | Code | Code |