Show HN: Isomer – An isometric graphics library for HTML5 Canvas
jdan.github.io
jdan.github.io
Also it would be alter the conceptual understanding to transform from 2D planimetric view to isometric.
"Shapes" consist of many "Paths" (paths = faces). If you draw a shape, it will attempt to order its faces. Instead, you can draw an array of paths in whatever order you'd like.
When drawing multiple shapes, the ordering is completely manual (unfortunately). This is currently my top priority.
I googled and saw that there are a few isometric game engines out there already. This would be pretty unique if more geared towards art/graphics and focused on ease-of-use.
How come the constructor for Point uses new, but the constructors for shapes are just called as regular functions?
It could use a little consistency :)
As for a next step for the project, I'd like to keep track of the objects added to the scene, and draw them intelligently.
http://jdan.github.io/isomer/ (at the top)
I'm redrawing the entire structure each time, though. You could optimize it manually by only redrawing surrounding polygons. Performance seems pretty good on my end, decent on mobile.