A simulation of real-world aquarium with enviroment and flocking behavior.
- Mouse move to control the scene to respond to your angle of view.
- Change the background/environment of the aquarium.
- Add as many fishes as you want to the aquarium.
- More choices for background and type of fishes
- Adding plants to the scene
- Allowing users to place plants at where their mouse clicked
- Obstacles that block the way to affect the behavior of the fishes
- Allowing users to control a fish
- 3D scene rendering with
THREE.js
- More to come...
If you want to run the project locally on your machine, you can clone the repository and build the entire project by following the steps below. Make sure you have node
and npm
installed before trying any of the followings.
npm install .
npm run start
After you see the server up running at localhost:3000
and compiled successfully
, you can go to your browser and open localhost:3000
. Enjoy!
Since this is an open-source project, feel free to create your own version from my code or help me develop the above features. You can contact me through GitHub if you meet any problems or have added something exciting.