everything i've made

rangoli

download

sweep the floor and start from
powder
copies round the centre

happy diwali

on the evenings of diwali, front steps get a fresh rangoli, poured from a pinch of coloured powder between finger and thumb, with diyas set round it once it's dark. this one is drawn the same way, a pinch at a time.

how it works

  1. pour. every bit of a line scatters a few hundred grains across its width, each a slightly different shade of the powder, thicker in the middle and thin at the edges. move fast and the line runs thin; hold still and the heap grows, as it does from a pinch.
  2. copy. the same grains land 8 times round the centre, each one flipped as well, so both halves of a petal match grain for grain.
  3. fill. rangoli is outlined first, then filled. tap inside a closed shape and the powder spreads out from your finger, cell by cell, until it meets the outline, in every copy at once. if the shape is open, it won't spill.
  4. kolam. the dot kolams of the south are one line of rice flour looped round a grid of dots. here the line runs diagonally between the dots and, at each gap, crosses over or turns back like light off a mirror. mirrors are added a symmetric set at a time, kept only if they leave fewer loops, until one line is left (which needs an odd number of dots a side).
  5. write. the words under the rangoli are set in type on a hidden canvas, and every other pixel of the letters becomes a grain of haldi. they pour in left to right once the rangoli is down, on a layer of their own, so changing them never sweeps the floor.
  6. light. the floor and powder sit in a dim night. each diya adds a warm pool to a light map, which flickers with its flame and is multiplied over everything.
  7. keep. every line is kept with its own random seed, so undo and pour again lay the same grains back down. undo takes back a whole design at once.

draw with a mouse, a finger or a pen. download video records it pouring in from an empty floor, words and all, ready to send. new design stacks petals, dots, bands, waves and scallops into a different rangoli every time. the kolam's method is the mirror curve, after the kolam generator at made good designs.