YusufB5/ASCILINE-Mascots ? reverse-engineered prompt
Reverse engineered prompt
Build me a small vanilla JavaScript library and demo that lets little ASCII or pixel art mascots live on top of a web page.
I want the mascots to walk around headings, paragraphs, and buttons like they are real objects, fall with gravity, bounce off things, and be draggable with a nice throw when I let go. The page content should stay usable underneath, so don’t wrap or damage the text, just detect it cleanly and keep SEO friendly behavior.
Please include a simple way to load the engine with one script, spawn a mascot by name, register custom mascots, and point to an assets folder for animation frames. A few built in examples would be great, like a walking cat and a flying cat, plus a demo page that shows them moving around the page.
If you need to check current browser docs or best practices while building it, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit