-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new canvas project - 'water-tank' added
- Loading branch information
1 parent
ebe12b4
commit 5201a13
Showing
5 changed files
with
533 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
The app is simple project to tinker with collison detection in javascript. | ||
|
||
Impurity can be induced by clicking anywhere on the canvas. On clicking the clean tank button, charcoal is induced. | ||
The charocoal absorbs the carbon-based impurity due to its large surface area. Size of charcoal balls increase when | ||
they come in contact with impurity and not with orignal water molecules. At the end left-over charcoal can be removed | ||
using remove charcoal button. | ||
|
||
![](https://github.com/pineapple45/water-tank/blob/master/preview.gif) | ||
|
||
Live Preview: https://pineapple45.github.io/water-tank/ | ||
|
||
Reference to vedio on collision detection by Chris Courses: https://www.youtube.com/watch?v=789weryntzM&list=PLpPnRKq7eNW3We9VdCfx9fprhqXHwTPXL&index=7 |
Oops, something went wrong.