
Hello 🙂
Just wanted to share a fun project I've been working on regarding smoke lineups. To do this I had to simulate the smokes physics in my own app, so I had to work out all the constants and forces involved to get a decently accurate result.
What you are seeing in the video is an example of a test run, where I set the position I want the smokes to hit, a margin of error I allow and a few other settings. The simulation works out every throw that should land there and then I have a CSS plugin setup to actually throw them to validate whether each one actually landed where the sim predicted, If they are off that means I needed to adjust my parameters and try again.
The end goal for this is to basically generate lineups easier, my current flow for generating lineups is running around in practice mode or going through csnades, so I thought this would be fun since I've never done something like this.
my next goal is to clean it up and implement a sort of scoring system for lineups it finds, as its not easy for a human to align with a random position in the skybox. I have filters to help narrow down lineups:
movement: any | jump | crouch | jump + crouch | run + jump
click: both | left | right
bounces: < 1 | < 2 | < 5
flight time: < 1s | < 3s | < 5s
precision(how far off you can be): <32u | … | <1u
I'll attach some more screenshots of the web UI since I had fun rendering the map and I think it looks cool. You can see the 2d and 3d viewer and a heat map.
Thank you for reading