Flow fields
18
min
Every line follows the noise. The lesson from the home page.
Preview renders the module’s sketch live. Drop your lesson video into the player’s Video field to replace it.
Space to play · ← → to seek
( The code )
The line that does the work.
sketch.js
const a = noise(x * scale, y * scale) * TAU * turns
Open the Lab from the player and change the numbers in this line first.

( What it draws ) One render of this module’s sketch.
( Lesson notes )

This lesson is part of
Lines
A woven flow-field poster
In this lesson
Every line follows the noise. The lesson from the home page. We build it live in about 18 minutes, then you change it in the Lab until it is yours.
Try this after
Change one number at a time and write down what it did. Most of the good surprises in this course come from the third or fourth change, not the first.
( In this module )
Keep going.
← Previous lesson
Walking lines
Next lesson →