Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmdcolin/logistic_chaos_map
A visualizer for the logistic map, also a demo of rust/wasm+react in a monorepo
https://github.com/cmdcolin/logistic_chaos_map
create-react-app fractal monorepo react wasm wasm-bindgen
Last synced: 4 days ago
JSON representation
A visualizer for the logistic map, also a demo of rust/wasm+react in a monorepo
- Host: GitHub
- URL: https://github.com/cmdcolin/logistic_chaos_map
- Owner: cmdcolin
- Created: 2020-12-14T00:32:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T05:00:30.000Z (5 days ago)
- Last Synced: 2024-11-14T06:17:20.802Z (5 days ago)
- Topics: create-react-app, fractal, monorepo, react, wasm, wasm-bindgen
- Language: TypeScript
- Homepage: https://cmdcolin.github.io/logistic_chaos_map/
- Size: 4.98 MB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# logistic_chaos_map
New! now runs as a twitter bot here https://twitter.com/chaosbot80 https://github.com/cmdcolin/twitter_fractal_bot
Renders the [logistic map](https://en.wikipedia.org/wiki/Logistic_map) using a
canvas and some basic JS. It also implements the same logistic map drawing code
in WASM and js## Screenshot
![](img/1.png)
App
![](img/2.png)
High res export
See https://cmdcolin.github.io/logistic_chaos_map/
## Build
Start a webpack-dev-server for the wasm code
```
## this is the wasm package
cd logistic-map-wasm
yarn serve
```Start dev server for the app
```
## this is the vite instance
cd app
yarn start
```To deploy to github pages
```
cd app
yarn deploy
```## Notes
Older versions used create-react-app but now uses vite (2024)
See [NOTES.md](NOTES.md) for some fun details I discovered while creating this and blogpost showing the basic template of a Rust+WASM+React app https://cmdcolin.github.io/posts/2022-08-22-rustwasm