iced-lenia 0.1.3

Particle Lenia simulation in Rust using iced
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use iced_lenia::{HEIGHT, WIDTH, subscription, update, view};

fn main() -> iced::Result {
    iced::application("Particle Lenia Simulation", update, view)
        .subscription(subscription)
        .window_size((WIDTH, HEIGHT))
        .run_with(|| {
            // Initialize the application state and return it with an empty task
            let state = iced_lenia::ParticleLenia::new();
            (state, iced::Task::none())
        })
}