https://github.com/jmcph4/swarmcars
Swarming cars!
https://github.com/jmcph4/swarmcars
demo javascript js toy
Last synced: over 1 year ago
JSON representation
Swarming cars!
- Host: GitHub
- URL: https://github.com/jmcph4/swarmcars
- Owner: jmcph4
- License: mit
- Created: 2015-04-17T02:26:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-17T08:45:59.000Z (over 11 years ago)
- Last Synced: 2025-02-16T00:44:36.997Z (over 1 year ago)
- Topics: demo, javascript, js, toy
- Language: JavaScript
- Size: 88.9 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swarmcars #
Swarming cars!
A small demonstration written in Javascript and some HTML. It uses HTML5's canvas functionality to render a bunch of cars and then a little bit of maths and logic to swarm them. The swarm target is chosen at random and is denoted by the red square on the screen. The cars swarm to it eventually. Tested in Firefox.