Layering slices inwards of a mesh surface using a sine waved SDF volume and noise with offsets for each layer.
Arranging the pieces based on the class attribute using the modulo() and floor() function.
v@P.x += (i@class % 10) * 0.2;
v@P.y -= floor(i@class / 10.0) * 0.4;