Scrawl-canvas v8
- Canvas test 012
Shape entity position
Shape entity as a path for other artefacts to follow
Screen refresh: 6ms; fps: 166 Shape path length: 617.3
Starts ('n%')
X:
Y:
Handles ('n%')
X:
Y:
Starts (n)
X:
Y:
Handles (n)
X:
Y:
Starts ('str')
X:
left
center
right
Y:
top
center
bottom
Handles ('str')
X:
left
center
right
Y:
top
center
bottom
Offset ('n%')
X:
Y:
Offset (n)
X:
Y:
Roll
Scale
Flip-upend
false
true
Flip-reverse
false
true
Test purpose
Create a Shape entity, with its 'useAsPath' flag set to true
Display the Shape entity on a canvas
Check that the entity location attributes (start, handle, offset) work as expected
Check that the entity manipulation attributes (roll, scale, flip) work as expected
Check that the functionality to calculate path dimensions and length are working
Create Wheel entitys to use the Shape entity as their path
Animate the Wheel entitys along the Shape entity path
Check that the Wheel entitys stick to the path during Shape entity positional, rotational, flip and scale manipulations
Check that the Wheel entitys correctly rotate to keep their flat sides running along the path line
|/}ÁÅþ§¶¿∑ƒ⌈⌊qwertyd0123456789QWERTY
mycanvas canvas element