This file contains hidden or 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
<canvas id="sakura"></canvas> | |
<div class="btnbg"> | |
<button type="button" onclick="toggleAnimation(this)">Stop</button> | |
</div> | |
<!-- sakura shader --> | |
<script id="sakura_point_vsh" type="x-shader/x_vertex"> | |
uniform mat4 uProjection; | |
uniform mat4 uModelview; | |
uniform vec3 uResolution; |
This file contains hidden or 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
<canvas id = "c" > </canvas> | |
<p> | |
Tear the cloth with your mouse.<br><br> | |
Right click and drag to cut the cloth.<br><br> | |
Reduce physics_accuracy if it's laggy, increase it for a better effect. | |
</p> |