← Back to Demos
Loading Cavalry Player...

Interactivity Demo

Click and drag to control the Falloff position

Loading scene...
Canvas: 0, 0
Cavalry: 0, 0
X: 0
Y: 0

About this Demo

This demo showcases interactive control of a Cavalry Scene through mouse input. Click and drag on the canvas to move the Falloff position.

The JavaScript app converts browser canvas coordinates to Cavalry's Cartesian coordinate system and then updates the falloff position attribute.