{"id":50772226,"url":"https://github.com/jo56/complex-systems-visualizer","last_synced_at":"2026-06-11T20:01:51.955Z","repository":{"id":317769432,"uuid":"1068745813","full_name":"jo56/complex-systems-visualizer","owner":"jo56","description":"Analyze complex system phenomena in a fullstack rust application","archived":false,"fork":false,"pushed_at":"2026-04-29T18:55:37.000Z","size":2508,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T20:32:20.040Z","etag":null,"topics":["complex-systems","egui","fractal","mandlebrot","rust","trunk","wasm","webgl"],"latest_commit_sha":null,"homepage":"https://complex-systems-visualizer.pages.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jo56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-02T21:03:40.000Z","updated_at":"2026-04-29T18:55:34.000Z","dependencies_parsed_at":"2025-10-03T00:10:38.553Z","dependency_job_id":"49e50a4d-04ce-4145-bb18-3ad9585a31ba","html_url":"https://github.com/jo56/complex-systems-visualizer","commit_stats":null,"previous_names":["jo56/mandlebrot-visualizer","jo56/complex-systems-visualizer"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/jo56/complex-systems-visualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo56%2Fcomplex-systems-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo56%2Fcomplex-systems-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo56%2Fcomplex-systems-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo56%2Fcomplex-systems-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jo56","download_url":"https://codeload.github.com/jo56/complex-systems-visualizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo56%2Fcomplex-systems-visualizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34215254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["complex-systems","egui","fractal","mandlebrot","rust","trunk","wasm","webgl"],"created_at":"2026-06-11T20:01:51.440Z","updated_at":"2026-06-11T20:01:51.943Z","avatar_url":"https://github.com/jo56.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Complex Systems Visualizer\n\n\u003cdiv align=\"center\"\u003e\n          \u003ca href=\"https://complex-systems-visualizer.pages.dev/\" target=\"_blank\"\u003e\n          \u003cimg src=\"assets/complex-systems-visualizer-preview.png\" alt=\"burning ship preview\"\u003e\n          \u003c/a\u003e\n      \u003cbr\u003e\n          \u003ci\u003eBurning Ship fractal at an interesting landmark\u003c/i\u003e\n\n  \u003c/div\u003e\n\u003cbr\u003e\n\nA comprehensive Rust application for exploring complex systems, fractals, cellular automata, particle simulations, and emergent behavior through interactive visualizations.\n\n\u003ci\u003eNote: Some fractals may not perform well in web due to CPU-intensive WASM limitations. Check out \u003ca href=\"https://github.com/jo56/fractal-madness\"\u003eFractal Madness\u003c/a\u003e for a WebGPU-based alternative.\u003c/i\u003e\n\n\n[![Try Online](https://img.shields.io/badge/Try%20Online-blue?style=flat\u0026logo=cloudflarepages\u0026logoColor=white)](https://complex-systems-visualizer.pages.dev/)\n![Rust](https://img.shields.io/badge/rust-%23000000.svg?style=flat\u0026logo=rust\u0026logoColor=white)\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n\n## Features\n\n**39 Unique Simulations** across 2D and 3D categories:\n\n### 2D Simulations (22 total)\n- **Fractals** (3): Mandelbrot Set, Julia Set, Burning Ship\n- **Cellular Automata** (4): Game of Life, Elementary CA, Langton's Ant, Cyclic CA\n- **Growth \u0026 Self-Organization** (2): DLA (Diffusion-Limited Aggregation), Sandpile\n- **Physical Simulations** (4): Double Pendulum, Reaction-Diffusion, Lissajous Curves, Wave Interference\n- **Generative Art** (6): Koch Snowflake, Phyllotaxis, Perlin Flow, Boids, De Jong Attractor, Clifford Attractor\n- **Complex Emergent** (2): Slime Mold, Falling Sand\n\n### 3D Simulations (17 total)\n- **Visual Animations** (3): DNA Helix, Torus Knot, Galaxy Spiral\n- **Particle Systems** (5): 3D Particle Attractor, 3D Boids, N-Body Gravity, Fluid SPH, Magnetic Field\n- **Chaotic Attractors** (7): Lorenz, Rössler, Aizawa, Halvorsen, Dadras, Thomas, Chen\n- **Advanced Effects** (3): Vortex Turbulence, Lightning Bolt, 3D Fractal Tree\n\n### Key Features\n- **Interactive Controls**: Real-time parameter adjustments with immediate visual feedback\n- **Mousewheel Zoom**: Smooth zooming for fractal exploration (Mandelbrot, Julia, Burning Ship)\n- **Drag-to-Pan**: Navigate fractal landscapes by dragging\n- **26 Color Schemes**: Beautiful palettes for fractals and visualizations\n- **Preset Configurations**: Quick access to interesting views and parameters\n- **High Performance**: Parallel computation using Rayon for fast rendering\n- **Professional UI**: Organized collapsible sections with emoji icons\n\n## Architecture\n\nThe project uses a Cargo workspace structure for modularity:\n\n```\nmandlebrot-visualizer/\n├── sim-core/          # Core simulation library\n│   ├── src/\n│   │   ├── lib.rs              # Simulation traits + color system\n│   │   ├── mandelbrot.rs       # Mandelbrot fractal\n│   │   ├── julia.rs            # Julia set\n│   │   ├── burning_ship.rs     # Burning Ship fractal\n│   │   ├── game_of_life.rs     # Conway's Game of Life\n│   │   ├── cellular_automaton.rs # Elementary cellular automaton\n│   │   ├── langtons_ant.rs     # Langton's Ant\n│   │   ├── cyclic_ca.rs        # Cyclic cellular automaton\n│   │   ├── dla.rs              # Diffusion-limited aggregation\n│   │   ├── sandpile.rs         # Abelian sandpile\n│   │   ├── double_pendulum.rs  # Chaotic pendulum\n│   │   ├── reaction_diffusion.rs # Gray-Scott model\n│   │   ├── lissajous.rs        # Lissajous curves\n│   │   ├── wave_interference.rs # Wave interference patterns\n│   │   ├── slime_mold.rs       # Physarum simulation\n│   │   ├── falling_sand.rs     # Falling sand simulation\n│   │   ├── generative/         # Generative art patterns\n│   │   │   ├── mod.rs\n│   │   │   ├── koch_snowflake.rs\n│   │   │   ├── phyllotaxis.rs\n│   │   │   ├── perlin_flow.rs\n│   │   │   ├── boids.rs\n│   │   │   └── strange_attractors.rs\n│   │   ├── lorenz.rs           # Lorenz attractor\n│   │   ├── rossler.rs          # Rössler attractor\n│   │   ├── aizawa.rs           # Aizawa attractor\n│   │   ├── halvorsen.rs        # Halvorsen attractor\n│   │   ├── dadras.rs           # Dadras attractor\n│   │   ├── thomas.rs           # Thomas attractor\n│   │   ├── chen.rs             # Chen attractor\n│   │   ├── dna_helix.rs        # DNA double helix\n│   │   ├── torus_knot.rs       # Torus knot\n│   │   ├── galaxy_spiral.rs    # Spiral galaxy\n│   │   ├── particle_attractor_3d.rs # 3D particle system\n│   │   ├── boids_3d.rs         # 3D flocking\n│   │   ├── nbody_gravity.rs    # N-body gravitational simulation\n│   │   ├── fluid_sph.rs        # SPH fluid dynamics\n│   │   ├── magnetic_field.rs   # Magnetic field visualization\n│   │   ├── vortex_turbulence.rs # Turbulent vortex flow\n│   │   ├── lightning_bolt.rs   # Lightning generation\n│   │   └── fractal_tree_3d.rs  # 3D fractal tree\n│   └── Cargo.toml\n│\n├── sim-app/           # GUI application\n│   ├── src/\n│   │   ├── main.rs             # Application entry point\n│   │   ├── viewer_2d.rs        # 2D visualization renderer\n│   │   └── viewer_3d.rs        # 3D visualization renderer\n│   └── Cargo.toml\n│\n├── sim-web/           # WebAssembly build for browsers\n│   ├── src/\n│   │   └── lib.rs              # WASM entry point\n│   ├── index.html              # Web template\n│   ├── Trunk.toml              # Trunk bundler config\n│   └── Cargo.toml\n│\n├── scripts/           # Build automation\n│   ├── build-web.sh            # Unix/macOS web build script\n│   └── build-web.ps1           # Windows web build script\n│\n└── Cargo.toml         # Workspace configuration\n```\n\n## Getting Started\n\n### Prerequisites\n\n- [Rust](https://www.rust-lang.org/tools/install) (1.70 or later)\n- Cargo (comes with Rust)\n\n### Building \u0026 Running\n\n```bash\n# Clone the repository\ngit clone \u003crepository-url\u003e\ncd mandlebrot-visualizer\n\n# Run the application (recommended for best performance)\ncargo run --release\n\n# Or for development (faster compilation, slower runtime)\ncargo run\n```\n\n### Web Build (WASM)\n\nRun the application in your browser using WebAssembly:\n\n#### Prerequisites\n\nInstall [Trunk](https://trunkrs.dev/), the WASM bundler:\n\n```bash\ncargo install trunk\n```\n\nAdd the WebAssembly target:\n\n```bash\nrustup target add wasm32-unknown-unknown\n```\n\n#### Option 1: Using Build Scripts\n\n```bash\n# Unix/macOS/Linux\n./scripts/build-web.sh\n\n# Windows (PowerShell)\n.\\scripts\\build-web.ps1\n```\n\nThe compiled files will be in `sim-web/dist/`.\n\n#### Option 2: Using Trunk Directly\n\n```bash\ncd sim-web\n\n# Development server with hot reload\ntrunk serve\n\n# Production build\ntrunk build --release\n```\n\n#### Option 3: Development Server\n\nFor local development with live reload:\n\n```bash\ncd sim-web\ntrunk serve --open\n```\n\nThis starts a local server at `http://127.0.0.1:8080` and opens it in your browser.\n\n#### Serving the Built Files\n\nAfter building, serve the `sim-web/dist/` directory with any static file server:\n\n```bash\n# Using Python\ncd sim-web/dist \u0026\u0026 python -m http.server 8080\n\n# Using Node.js (npx)\nnpx serve sim-web/dist\n\n# Using Rust's simple-http-server\ncargo install simple-http-server\nsimple-http-server sim-web/dist\n```\n\n\n## Usage\n\n### Basic Controls\n\n1. **Select View Mode**: Choose between 2D and 3D simulations\n2. **Choose Simulation**: Use the dropdown menu to select which simulation to run\n3. **Adjust Parameters**: Use sliders and controls in the side panel\n4. **Explore Presets**: Click preset buttons for interesting configurations\n\n### Fractal Controls\n\n- **Mousewheel**: Zoom in/out on fractals (Mandelbrot, Julia, Burning Ship)\n- **Drag**: Pan around the fractal when zoomed in\n- **Zoom Slider**: Fine control over zoom level (0.1x to 10,000x)\n- **Color Schemes**: Choose from 26 beautiful color palettes\n\n### 3D Controls\n\n- **Rotation Sliders**: Change viewing angle (X and Y rotation)\n- **Zoom Slider**: Adjust 3D perspective (0.5x to 5x)\n- **Mousewheel**: Quick zoom adjustment when hovering over 3D view\n- **Auto-Rotate**: Enable automatic rotation for continuous viewing\n\n## Technology Stack\n\n- **[Rust](https://www.rust-lang.org/)** - Systems programming language\n- **[egui](https://github.com/emilk/egui)** - Immediate mode GUI library\n- **[eframe](https://github.com/emilk/egui/tree/master/crates/eframe)** - Application framework (native + web)\n- **[rayon](https://github.com/rayon-rs/rayon)** - Data parallelism for performance\n- **[num-complex](https://github.com/rust-num/num-complex)** - Complex number arithmetic\n- **[noise](https://github.com/Razaekel/noise-rs)** - Perlin noise generation\n- **[wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)** - Rust/JavaScript interop for WebAssembly\n- **[Trunk](https://trunkrs.dev/)** - WASM web application bundler\n\n## Documentation\n\n- **[QUICKSTART.md](QUICKSTART.md)** - Quick start guide for new users\n- **[FEATURES.md](FEATURES.md)** - Detailed feature documentation and tips\n\n## Highlights\n\n### Advanced Fractal Features\n- 26 color schemes with smooth coloring\n- Zoom up to 10,000x for deep exploration\n- Generalized Mandelbrot/Julia sets (powers 2-8)\n- Color cycling animations\n- Preset locations for quick navigation\n\n### Cellular Automata\n- Game of Life with 6 rule variations\n- 7 classic patterns (Glider Gun, Pulsar, etc.)\n- Cell age visualization\n- Real-time rule switching\n\n### Physical Simulations\n- Reaction-Diffusion (Gray-Scott model)\n- N-Body gravity with orbital mechanics\n- SPH fluid dynamics\n- Magnetic field particle interactions\n\n### Generative Art\n- Boids flocking (2D and 3D)\n- Perlin noise flow fields\n- Strange attractors (De Jong, Clifford)\n- Phyllotaxis patterns\n- Koch snowflake fractals\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Acknowledgments\n\n- Built with the excellent Rust ecosystem\n- Thanks to the egui community for the amazing GUI framework\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjo56%2Fcomplex-systems-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjo56%2Fcomplex-systems-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjo56%2Fcomplex-systems-visualizer/lists"}