Skip to content

Comment on Show HN: A jiggly canvas sketchparent

Comments

The background image is here: http://lab.hailpixel.com/static/1/img/box.jpg

It looks like it just uses the raw RGB values from the image, sampled in a 25x25 grid spanning the image. The orientation isn't random, but is chosen to avoid the sharper regions of the image, preferring to pick the points representative of smoother areas of colour.

This is exactly how I did it. The orientation on the triangles is chosen to minimize the "color distance" between connecting edges.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.