O' Demon Tree, O' Demon Tree...

Objective
To create an object in HTML5 Canvas that will randomize the scene and scale with the application.

Problem
I had to make sure that items did not collide with each other and that there were no corrupted objects while scaling.

Solution
All objects were placed in a container that changes when other objects' containers are manipulated.