Flow Field
You'll build a field of angles from noise, trace thousands of particles through it, and choose the palette and the composition on purpose instead of taking what falls out.
About
A flow field is the piece everyone recognizes, which is exactly why the lazy version looks like everyone else's. The mechanics are simple: sample 2D noise on a grid, turn each value into an angle, and let particles take small steps in the direction under them, leaving a line behind. The art is in the choices around it, which are the noise scale, the step length, the number and length of the lines, where they start, and a palette of four to six colors you picked for a reason. You'll make the plain version first and then make deliberate decisions one at a time until it's yours.
At a glance
- Per requirement
- 25 XP
- Completion bonus
- 150 XP
- Requirements
- 6
- Takes
- One weekend
- Skill level
- Intermediate (months of practice)
- Cost
- Free
- Supplies
- Nothing special
- Where
- At home
- Other people
- On your own
Requirements
-
1
Draw the field itself as a grid of short lines. Sample noise(x * 0.005, y * 0.005) every 20 pixels, map the value to an angle from 0 to two pi, and draw a short line at that angle. This is your map, and you'll keep it as a debugging view. Post the field. Photo
-
2
Trace a thousand particles through it. Start each particle at a random point, take steps of 1 to 2 pixels along the angle under it for 200 to 500 steps, drawing as it goes, and drop any particle that leaves the canvas. Post one output and note the render time, since this is usually the first time generative code gets slow. Photo
-
3
Change the noise scale across three outputs and say which you chose and why. Try 0.001, 0.005 and 0.02 with the same seed. Small numbers give long calm sweeps and large ones give turbulence. Post the three with the scale written under each, and a sentence on the one you're keeping. Photo
-
4
Pick a palette of four to six colors from a real source. A painting, a photo of a place you've been, or a rug all count. Sample the colors with an eyedropper, then assign them by a rule (by region, by particle length, by noise value) rather than at random. Post the source next to the output. Photo
-
5
Compose it on purpose with a margin and an anchor. Leave a margin of at least 8 percent on every side, start the particles from a shape or a region instead of everywhere, and crop or mask so the eye has somewhere to land. Post the composed version next to the version with particles everywhere. Photo
-
6
Export it at 4000 pixels wide and pick the seed you'd print. Scale every coordinate and the stroke weight together, or use pixelDensity(), because a 1 pixel line that looks right at 800 pixels turns into a hairline at 4000 unless the weight scales with it. Post a crop at full resolution and the seed number. Photo