Kaleidoscope
Move the mouse and the pattern blooms in every direction at once · Art ●●●
Change these if you like
Prompt
Make a kaleidoscope with 6 mirrors in shifting rainbow. Make it a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Do not use image files or any external address; use emoji or letters if you need a symbol. Whatever I draw with the mouse is mirrored around the centre so it appears in every segment at once. Moving the mouse draws; the pattern builds as I go. Let the older marks fade slowly so the picture keeps breathing instead of filling up solid. Add a clear button and a pause. Make it work with a finger on a phone too. Keep it smooth. If it slows down, draw fewer marks rather than making them smaller — a stuttering kaleidoscope is worse than a simple one. When you are done, hold the mouse still and check the screen settles rather than piling up in one spot.
What it uses: One file only · Say what it is first · Decide what shows · Pin down what not to do
If it slows down after a while, ask it to "fade the canvas slightly each frame instead of keeping every mark".
Paste what came back
You might also like