Remake of framework using processing.js for 2D graphics (3D abandoned)