https://github.com/sheraff/ants
https://github.com/sheraff/ants
data-oriented-programming multi-agent-simulation pathfinding
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sheraff/ants
- Owner: Sheraff
- Created: 2022-05-29T08:51:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T19:04:08.000Z (over 3 years ago)
- Last Synced: 2025-01-26T19:52:03.161Z (about 1 year ago)
- Topics: data-oriented-programming, multi-agent-simulation, pathfinding
- Language: JavaScript
- Homepage: https://ants-thread-production.up.railway.app/
- Size: 671 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ants

Cool tech:
- Data Oriented Design: structure data in contiguous read chunks instead of in objects
- `MessageChannel`: communication between 2 web workers
- `SharedArrayBuffer`: one worker works on data, the other reads it
- `OffscreenCanvas`: worker dedicated to drawing state of simulation
Next:
- Rust to boost perf?