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
<html> | |
<head> | |
<title>Fluid simulation with balls</title> | |
<script type="text/javascript" src="paper-full.js"></script> | |
<!-- Define inlined PaperScript associate it with myCanvas --> | |
<script type="text/paperscript" canvas="myCanvas"> | |
// Ball variables | |
radius = 20; | |
totalBalls = 100; |
NewerOlder