Demo: Camera shake on object collisions

I’ve been playing with ThreeJS and CannonJS for a few weeks now, and came up with this proof of concept to teach myself some key principles. I’m not sure what the best practices and design patterns are regarding these libraries yet, so feel free to school me.

Click on the scene to drop boxes, and watch the camera shake due to the impacts.

5 Likes

Love it! Nice work.

2 Likes