Paint Pictures With Physics
Use Box2D to create physics-based paintings in AS3, as demonstrated by Adam Palmer.
Physical systems mimic the way objects around us react to each other - just think of bouncing balls and you've got it.
In computer games, physics is everywhere, making games more complex and realistic all the time, with Box2D being one of the more well-known physics libraries. Fortunately for us it's been ported to AS3, but while it takes a lot of the hard work out of 2D physics, it's still pretty complex.
Zevan Rosser's QuickBox2D sits on top of Box2D and makes it easier still, so we can just get stuck in without having to worry too much about the complexities of how the system works. We'll set up a simple system with QuickBox2D and paint its trails to a canvas, grabbing colours from a photo as we go and injecting energy into the system with the mouse.
Click here to download the support files (40.5MB)
Click here to download the tutorial for free
Get top Black Friday deals sent straight to your inbox: Sign up now!
We curate the best offers on creative kit and give our expert recommendations to save you time this Black Friday. Upgrade your setup for less with Creative Bloq.
Thank you for reading 5 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1
The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.
Related articles
- I use this Apple Pencil daily with my iPad Pro and now it's 38% cheaper on Black Friday
- These are the ultimate Apple deals to bag before Black Friday ends
- How 2D digital art and 3D animation workflows are merging
- Rethink how you create digital art with the TourBox Elite editing controller - now with 25% off