Naeem0000000/arrow-trajectory-simulator ? reverse-engineered prompt

Reverse engineered prompt

Build me a Java app that simulates an arrow flying through the air with realistic physics, not the simple school formula. I want a dark themed desktop interface where I can change things like launch speed, angle, launch height, arrow mass, shaft size, drag, wind, and air density, then press a button to watch the shot animate on a canvas. It should also show useful results like range, peak height, flight time, and impact speed.

Please add a button that finds the best launch angle for the farthest shot at the current settings, and another option where I can enter a target distance and height and get the angle or angles that will hit it. If there are two valid shots, I want both the low arc and the high arc. Use accurate physics with gravity and air resistance, and make the motion smooth and believable. Add tests too, and if you need to check current docs or setup details online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab