Skip to main content

Command Palette

Search for a command to run...

Mathober2026_ZebraGraph

Can Chess Pieces Dance?

Updated
•2 min read•View as Markdown
Mathober2026_ZebraGraph

CamilleAsZebra

For my 2nd sketch of #Mathober2026 coded in #Locomotion, #SonicPi & #LiveCodeLab, CamilleAsZebra uses Locomotion to explore the movement of the fairy chess piece: Zebra graph with a one move set limitation.

Poetry

As the Moves are graphed
The traces are known
The movements are told
Not by halves
But with the moveset, they been staffed

Video

https://youtu.be/b9fNXFIeMCY

Locomotion Code

-- max widths for the zebra piece to move
-- Camille acting as a zebra piece

dancer { url="camille", size = 0.5, x = 0 + range -3 3 (osc 0.15) };
dancer { url="camille", size = 0.5, x = 3};
dancer { url="camille", size = 0.5, x = -3};

-- right zebra limits from the center
dancer { url="camille", size = 0.5,x = 3, y = range -2 2 (osc 0.15)};
dancer { url="camille", size = 0.5,x = 3, y = range 2 -2 (osc 0.15)};

dancer { url="camille", size = 0.5,x = 2, y = range -3 3 (osc 0.15)};
dancer { url="camille", size = 0.5,x = 2, y = range 3 -3 (osc 0.15)};


-- right zebra limits from the center
dancer { url="camille", size = 0.5,x = -3, y = range -2 2 (osc 0.15)};
dancer { url="camille", size = 0.5,x = -3, y = range 2 -2 (osc 0.15)};

dancer { url="camille", size = 0.5,x = -2, y = range -3 3 (osc 0.15)};
dancer { url="camille", size = 0.5,x = -2, y = range 3 -3 (osc 0.15)};

More from this blog