Skip to content

Add Midnight vortex animation and Ode to St Lucia - #19

Open
tomadowley wants to merge 1 commit into
masterfrom
cosine/add-st-lucia-ode-and-animation
Open

Add Midnight vortex animation and Ode to St Lucia#19
tomadowley wants to merge 1 commit into
masterfrom
cosine/add-st-lucia-ode-and-animation

Conversation

@tomadowley

Copy link
Copy Markdown

This PR adds a new interactive animation and a poetic Ode, and wires it into the existing canvas gallery.

What changed:

  • README.md: Added an 'Ode to St Lucia' section celebrating the island.
  • assets/animation-starfield-vortex.js: Implemented createStarfieldVortexProject, a Midnight vortex animation with starfield particles, parallax-like trails, and pointer-driven focus.
  • assets/main.js: Imported the new animation and registered it in the projects list so it loads with the rest of the animations.

How it works:

  • Seeds a set of stars with configurable colors, sizes, and motion.
  • Renders a swirling vortex with motion and fading trails; pointer movement focuses the vortex.
  • Designed to run with the existing canvas-based animation framework with no breaking changes.

How to test:

  • Build or open the site and navigate to the animation gallery; hover or move the pointer over the canvas to see the Midnight vortex respond.

Added an "Ode to St Lucia" section to README.md. Introduced a new "Midnight vortex" animation in assets/animation-starfield-vortex.js, integrating it into assets/main.js for the voyage picker. Verified changes through syntax checks and local serving, as browser automation was unavailable.

Co-Authored-By: Cosine CLI (gpt-5.4) <agent@cosine.sh>
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