176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: Circle Reveal and Page Curl prompts name no value a setting controls
matin15130e7ade65
diff --git a/animations/03-page-transitions/circle-reveal/index.html b/animations/03-page-transitions/circle-reveal/index.htmlindex 48c54d36..f51ea12c 100644--- a/animations/03-page-transitions/circle-reveal/index.html+++ b/animations/03-page-transitions/circle-reveal/index.html@@ -124,7 +124,7 @@<div><h2 id="hb-prompt-title">Copy the prompt</h2><p>Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.</p></div></div><div class="hb-card">- <p class="hb-prompt">Add a circle reveal to [the links or buttons that change the page]. When the visitor clicks or taps, put the new page on top of the old one and show it only inside a circle that starts as a dot and grows until it covers everything. Measure the click at that moment, start the circle there and make its final size reach the farthest corner, so no corner is left uncovered. A press of the keyboard has no spot, so start from the middle of the pressed button. Grow only the visible circle; neither page moves. If the visitor has reduced motion turned on, crossfade the pages instead. Match the settings listed below.</p>+ <p class="hb-prompt">Add a circle reveal to [the links or buttons that change the page]. When the visitor clicks or taps, put the new page on top of the old one and show it only inside a circle that starts as a dot and grows until it covers everything. Make its final size reach the farthest corner from where it starts, so no corner is left uncovered. When it starts from the click, measure the spot at that moment; a press of the keyboard has no spot, so use the middle of the pressed button. Grow only the visible circle; neither page moves. If the visitor has reduced motion turned on, crossfade the pages instead. Match the settings listed below.</p><div class="hb-chips-box" hidden><p class="hb-chips-title">Your settings</p><ul class="hb-chips"></ul>diff --git a/animations/03-page-transitions/page-curl/index.html b/animations/03-page-transitions/page-curl/index.htmlindex cad9b34d..5e63983f 100644--- a/animations/03-page-transitions/page-curl/index.html+++ b/animations/03-page-transitions/page-curl/index.html@@ -119,7 +119,7 @@<div><h2 id="hb-prompt-title">Copy the prompt</h2><p>Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.</p></div></div><div class="hb-card">- <p class="hb-prompt">Add a page curl to [the pages you want to turn, such as a magazine]. When the visitor goes to the next page, lift the bottom corner of the current page and turn it over to the left like paper, so the next page shows underneath. Draw the folded part as the back of the sheet, lying over the page along a straight fold that moves with the corner. A turn back runs the same movement in reverse. Paper shading darkens the fold and casts a soft shadow on the page below. Work out the fold from the corner's position on every frame and time the turn by elapsed time. If the visitor has reduced motion turned on, fade between the pages instead. Match the settings listed below.</p>+ <p class="hb-prompt">Add a page curl to [the pages you want to turn, such as a magazine]. A forward turn lifts the bottom corner of the current page and turns it over to the left like paper, so the page underneath shows. A turn back runs the same movement in reverse and lays a page down over the current one. Draw the folded part as the back of the sheet, lying over the page along a straight fold that moves with the corner. Paper shading darkens the fold and casts a soft shadow on the page below. Work out the fold from the corner on every frame, timing the turn by elapsed time. If the visitor has reduced motion turned on, fade between the pages instead. Match the settings listed below.</p><div class="hb-chips-box" hidden><p class="hb-chips-title">Your settings</p><ul class="hb-chips"></ul>