Joint all layers in only one with Luxor

I am doing an image pixel by pixel using Luxor.rect(), but I need to collapse all my “squares” in only one layer. I want to export the image as a vector because I need to use it as a CAD file and having many layers is a problem. Does anybody have an idea?

Hi! A layer is an environment - position, scale, transform matrix, rotation, color, line width, etc - but it doesn’t affect the drawing order.

You don’t have to use layers if you vary scale.rotation, position, color, etc - just keep track of them carefully, undo transforms when you’ve finished them, etc.