The Canfield Ant Simulator simulates a colony of ants, with a focus on the ants' search for food. Ants lay pheromone trails to notify other ants about food, as in the real world. Over time, this gives the ants the appearance of having a higher-level coordinating intelligence that is instructing all
... [More] ants according to group goals, though in actuality each ant is fully in control of itself, and does not have any direct communication with other ants.
The project involved the creation of the following components:
- World Creator: random map generator
- Navigation Graph, with nodes & edges
- Ants: goal-based agents
- 7 ant goals and subgoals
- A* algorithm implementation
- GUI processing framework using the Observer pattern [Less]
This is a first person game prototype, using Three.js and WebGL, with an indoor and outdoor area. It has the following features:
- Implemented in JavaScript and WebGL
- Textures & lighting
- Particle systems
- Collision detection
- User interaction, such as opening doors and shooting
... [More] projectiles
- Moveable camera with mouse look (though pointer lock wasn't implemented)
- Zone-based system to reduce cost of collision detection and to turn particle systems on or off (based on the KD-tree concept)
- Billboarding
The textures are from Paul Bourke's texture library: http://paulbourke.net/texture_colour/ [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy