Skip to content

toddATavail/lw-cr-cellular-automata

 
 

Repository files navigation

Cellular Automata Engine of sorts

dependency status Build Status

Built using Emilk's eframe, templite repo. Eframe is a framework for writing apps using egui.

References and Sources Used:

Rest in peace John Walker his project "CellLab" has proved immensely helpful in my research, He passed on February 2, 2024. Less than a week before I started working on this project

Wikipedia:

Research Papers and Books

(note, I may or may not have read these papers, but am including all of the ones I found interesting, or ones that seemed like they could be helpful to look at later here)

Other Open source projects

Rules to look into (for me)

Misc stuff to check out

Related Videos I Watched

Instructions from the original E-Frame Template

Running localy

Make sure you are using the latest version of stable rust by running rustup update.

cargo run --release

Web Locally

You can compile your app to WASM and publish it as a web page.

We use Trunk to build for web target.

  1. Install the required target with rustup target add wasm32-unknown-unknown.
  2. Install Trunk with cargo install --locked trunk.
  3. Run trunk serve to build and serve on http://127.0.0.1:8080. Trunk will rebuild automatically if you edit the project.
  4. Open http://127.0.0.1:8080/index.html#dev in a browser. See the warning below.

assets/sw.js script will try to cache our app, and loads the cached version when it cannot connect to server allowing your app to work offline (like PWA). appending #dev to index.html will skip this caching, allowing us to load the latest builds during development.

Web Deploy

  1. Just run trunk build --release.
  2. It will generate a dist directory as a "static html" website

Releases

No releases published

Packages

No packages published

Languages

  • Rust 80.7%
  • HTML 15.6%
  • JavaScript 2.1%
  • Shell 1.6%