Bonsai & Bounding Boxes
In Bonsai’s latest release (0.4.1) we added support for a new ‘getBoundingBox’ method on all DisplayObjects. We can now accurately calculate the bounding box of paths, and groups containing paths.
To demonstrate we’ve created a demo with a constantly morphing star and a constantly re-calculated bounding-box:
We calculate the bounding box of any given path by […]