Codice is a shadow box wall art piece by DaVinci Frames. A complete, working neural network in 130 lines of Python, with the real result it prints. It is printed edge to edge on a 3.5 cm deep block with the image wrapping around the sides — no glass, no frame — in landscape or portrait from 45 × 30 cm to 120 × 80 cm, priced GHS 380 to GHS 1,300. Made to order in about 4 working days and delivered anywhere in Ghana.
The story behind this piece
Codice is a program you can run. In 130 lines of Python and numpy it builds a neural network from nothing: two interleaved spirals as data, He initialisation, a ReLU network of shape 2-64-64-2, softmax cross-entropy, backpropagation by the chain rule, a finite-difference gradient check, and gradient descent with momentum. The glowing line is the heart of backpropagation, the error passed back through a layer and gated by ReLU. The last column is the program's actual output: the gradient check agrees to within 7 × 10⁻⁷, accuracy climbs to 100%, and the learned decision regions are drawn in text, the two spiral arms picked out in gold. It is set in JetBrains Mono with syntax colours tuned for a dark room.
A complete, working neural network in 130 lines of Python, with the real result it prints.
Printed edge to edge on a 3.5 cm deep shadow-box block — no glass, no glare — and ready to hang straight out of the box. Made to order by a partner maker in Ghana.
Tav. XLV of the DaVinci Frames house collection — part of AI & Computing, our science series for people who love their field.