diff --git a/labs/folk-rope.ts b/labs/folk-rope.ts index 4b8c40b..5e4fab7 100644 --- a/labs/folk-rope.ts +++ b/labs/folk-rope.ts @@ -48,7 +48,8 @@ export class FolkRope extends FolkBaseConnection implements AnimationFrameContro `, ]; - #rAF = new AnimationFrameController(this); + // TODO: stop simulation when energy approaches 0 + #rAF = new AnimationFrameController(this, 10000); #svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); #path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); diff --git a/website/canvas/event-propagators-with-device-gravity.html b/website/canvas/event-propagators-with-device-gravity.html new file mode 100644 index 0000000..fd04998 --- /dev/null +++ b/website/canvas/event-propagators-with-device-gravity.html @@ -0,0 +1,73 @@ + + +
+ + +