Skip to content

Instantly share code, notes, and snippets.

@grkvlt
Created October 12, 2017 15:05
Show Gist options
  • Save grkvlt/d08636ecff055b4040f7dc986c16f1a7 to your computer and use it in GitHub Desktop.
Save grkvlt/d08636ecff055b4040f7dc986c16f1a7 to your computer and use it in GitHub Desktop.
Exploring Iterated Function Systems
// Evaluate the function twice, first for (x,y) position
// and then for hue/saturation color space
current = points.updateAndGet(0, p -> function.apply(f.apply(p)));
old = points.getAndUpdate(1, p -> function.apply(f.apply(p)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment