Skip to content

feat: mobile Julia set random init + scroll morphing#12

Open
debuggingfuture wants to merge 1 commit into
mainfrom
feat/mobile-julia-scroll
Open

feat: mobile Julia set random init + scroll morphing#12
debuggingfuture wants to merge 1 commit into
mainfrom
feat/mobile-julia-scroll

Conversation

@debuggingfuture
Copy link
Copy Markdown
Member

Summary

  • On mobile viewports (<768px), the Julia set background now initializes with a random coordinate from 8 curated visually interesting constants instead of the fixed default
  • As the user scrolls, the fractal smoothly interpolates between preset coordinates, creating an evolving background effect
  • Desktop behavior is unchanged — mouse movement still controls the fractal

Test plan

  • Open on mobile (or devtools responsive mode < 768px) — verify the fractal starts with a random interesting shape (refresh a few times to see variation)
  • Scroll the page on mobile — verify the fractal morphs smoothly between different shapes
  • Open on desktop (>= 768px) — verify mouse-driven control still works as before
  • Check that scroll listener uses passive: true and doesn't degrade scroll performance

On viewports < 768px, initialize the Julia set with a random
coordinate from a curated list of visually interesting constants.
As the user scrolls, smoothly interpolate between presets so the
fractal background evolves with the page. Desktop behavior unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant