DEV Community

Discussion on: What's the most math-intensive project you have ever done?

Collapse
 
ciochetta profile image
Luis Felipe Ciochetta • Edited

I worked on a project early this year that was a pixel art editor there were layers of arts for clothes and items, and the user would be able to export what he did

This export function could export the art in several different ways, you could have one a animation for each row, have each layer in a different row etc.

I don't know if there is a better way to do this, I couldn't thought of one at the time, so I was working with arrays of pixels for each layer

Turns out pixel arrays are kinda tricky, they are one dimensional array that represents a two dimensional thing

So I spent a good time designing the functions that would move a object from a point of a image to another and sequencing them

about the tech, was using Electron