Compose a chain of functional-programming transformations to morph the starting stack of cubes into the target pattern.. Try it now on Pixlland — no downloads, no sign-up, ready to play right in your browser on any device.
A puzzle about functional programming in disguise. You start with a stack of colored cubes and a target pattern to match. From a palette of transformation functions — recolor, stack, duplicate, drop — you drag tiles into a pipeline that runs left to right over the stack. The output updates live as you build, so you can see exactly how each function reshapes the cubes. Match the target to clear the level.
Read the target from the output backward. Work out which final transformation produces it, then build the steps that feed into it.
Order is everything — the same two functions in the opposite sequence give a completely different stack. Swap them and watch the preview.
Keep your pipeline short. The cleanest solution is usually the smallest set of functions, not the cleverest one.
Cube Composer was created by David Peter and its source code is open under the MIT license.
Yes — Cube Composer runs straight in the browser, whether on desktop, laptop, tablet, or phone. No install, no signup, no payment. Just open the page and play.
Yes. Cube Composer is 100% free on Pixlland. Play as many sessions as you want, no limits and no hidden charges.