Skip to main content

Command Palette

Search for a command to run...

crashcat

Finally figured out an excuse to play with Reality Composer

Updated
1 min read

I saw an X post the other day that mentioned a Javascript physics engine called crashcat. I initially thought it might be fun to have a 3D model of Austin or something, pull in real weather info from Open-Meteo, and fake some wind physics, etc. against the large buildings. That also sounds like a lot of work, so I lowered my sights a bit. How about a bring-your-own 3D model of an object that could have some basic physics simulations?

Hey, I’ve had the Reality Composer app on my phone for years and have never bothered to use it. Today is the day. Reality Composer let’s you scan an object and export a USDZ file.

💡
Note: If you want to do object capture well, make sure you have sufficient lighting from all angles. The shadow became part of my object due to my poor studio setup.

My stack here:

It… kind of works!

If you want to play with it https://reality-optional.vercel.app

and here’s the repo: https://github.com/ThatOrJohn/reality-optional