Food/STARTED MAY 2026/LOGGED MAY 2026

Bytecake

Pixel-art layer cakes for COMPSCI 230. Each slice is a sprite — and there are two-bit and four-bit cakes.

Ibrahim Waheed1 member · MAY 2026
313loves
03tools used
FIG.01 — BYTECAKE
10cm · 20cm · 30cm · 40cm · 50cm
[01]StoryLong-form write-up

This was built for the end-of-semester COMPSCI 230 celebration. The brief was simple: make something edible that teaches binary. The answer was a layer cake where each horizontal layer represents a bit — vanilla for 0, chocolate for 1.

The two-bit cake is four slices tall (00 through 11). The four-bit cake goes to sixteen layers. Cutting a slice reveals the binary number for that slice position, frosted onto the top in pixel font. We used a piping bag and food colouring to label each slice 0000 through 1111.

It took two full days of baking and about a kilogram of buttercream. Both cakes were gone in twenty minutes.