Skip to content

Commit

Permalink
new canvas project - 'water-tank' added
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapple45 committed Aug 28, 2020
1 parent ebe12b4 commit 5201a13
Show file tree
Hide file tree
Showing 5 changed files with 533 additions and 0 deletions.
12 changes: 12 additions & 0 deletions water_tank/README.md
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
Loading

0 comments on commit 5201a13

Please sign in to comment.