# Scrawl-canvas v8 - Canvas test 056

## Seeded random number generator; point on path
Max random length
Density
Max random rotation
Add path rotation

#### Test purpose

- Create a Polyline entity and a Shape entity
- Use positions along the Polyline entity's path to generate a series of short lines, captured in the Shape entity's pathDefinition attribute
- The short lines should be calculated using the Seeded random number generator - c heck that the initial display is the same each time the page loads (this would not happen if we were using the Javascript Math.random() function)

Note that the Shape entity doesn't overlap the Polyline entity because it is positioned centrally and will often have different dimension values.

Touch test: should work as expected

Annotated code