Shapes Accumulate
進行で図形が増える
Generation Prompt
【対象要素】 - スクロールで見せるセクション1つ(見出し+図版・画像・カード等)に適用する 【演出内容】 - スクロールの進行に合わせて、図形が1つずつ増えていく - 進むほど画面の情報量が増える 【品質要件】 - 増える順序は一定にし、進行を戻せば逆順に減る - 最終状態でも図形が詰まりすぎないよう数を抑える - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - スクロールを戻したときも進行に応じて巻き戻る(一度きりの再生にしない) - 図形は半透明(不透明度0.7程度)にして、背後の要素や文字を潰さない
[Target element] - Apply to one scroll-driven section on your site (a heading plus a figure, image, or cards) [Motion] - Shapes are added one at a time as the scroll advances - The screen carries more information the further you go [Quality requirements] - Keep the order fixed, and remove them in reverse when scrolling back - Keep the count low enough that the final state never feels crowded - When prefers-reduced-motion is set, disable the animation and show the finished state from the start - Scrolling back must rewind the animation in step with the scroll position (never a one-shot playback) - Keep shapes semi-transparent (around 0.7 opacity) so they never crush the content or text behind them
Prompts and demo code are free to use in your own projects. See About.