Coral 1

29 April 2021 — Pieter Heijman
  1 min

Coral 1 by Pieter Heijman “Coral 1” by Pieter Heijman

Detail shot of Coral 1 Detail shot of “Coral 1”

Title: Coral 1
2021
Tools: Processing
Concepts: Flow fields, noise, collision detection

A variation to Down by the River using some basic collision detection to reduce the number of overlapping lines. Because of this, there is only 1 layer of lines, compared to several hundred in Down by the River. The colors were taken from images of coral reefs (hence the title).

The collision detection works by taking the control points for each line and comparing them to all other control points. If a control point is found to share its space with another control point, the entire line is removed and a new one is made. This doesn’t completely prevent collisions from happening, but it prevents most of them.

Avatar image of me

Pieter Heijman

Technical Lead, Webdeveloper
Since 2005
Tools of choice