attractor-wallpaper icon indicating copy to clipboard operation
attractor-wallpaper copied to clipboard

A tool for rendering random strange attractors

Attractor Renderer

This is a program for finding strange attractors, as first described by Paul Bourke in this article, and rendering them using a color gradient, intended to be used as wallpapers.

img

Building

Attractor-Egui

The main crate is attractor-egui, which is a Windows, Linux and Mac OS (MacOs is untested) application. To build it, you need to have a recent version of the Rust toolchain installed.

cargo build -p attractor-egui --release

Or to run it directly:

cargo run -p attractor-egui --release

Android

There is also an Android version. To build it, you can to open the android folder in Android Studio, and build it from there. You need to have installed the Android NDK and SDK (see build.gradle.kts for the versions used).

Acknowledgements

Inspired by:

  • Finding strange attractors: Part 1, Part 2
  • Finding Strange Attractors: https://www.youtube.com/watch?v=Lw_SqFxHtH0
  • Random Attractors: https://paulbourke.net/fractals/lyapunov/

Some of the code is derived from: