A tiny way to draw an "isometric" (dimetric) cube in an iterative fashion with a single loop, all integers with an integer variant of HAKMEM 149 (so called Minsky circle) display hack. (Sin / Cos approximation)
Can also be used to draw a hexagon (it is a filled hexagon after all) and can easily render fractured cubes as well by varying "l" (second screenshot)
#cube #p5js #computergraphics #isometric #dimetric #hexagon #softwarerendering


