maheshkurmi/maheshkurmi.github.io ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean little web app that simulates a screw gauge or micrometer, like the demo in this repo.

I want the drum to rotate when I drag it up and down, and I should be able to move the whole instrument by dragging anywhere else. It should also respond to the mouse wheel and arrow keys so I can advance the drum easily. Add a zero error slider that lets me set values from minus 0.40 mm to 0.40 mm, and a scale slider so I can zoom in and see the divisions more clearly.

The main goal is that the app feels like a real teaching tool, with the spindle moving smoothly and the measurement changing as the drum turns. Make it look neat and easy to use, with the micrometer centered on the page. If you need to check anything, look up current docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab