Skip to content

Add 'St Lucia lights' animation and Ode to St Lucia - #18

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

Add 'St Lucia lights' animation and Ode to St Lucia#18
tomadowley wants to merge 1 commit into
masterfrom
cosine/add-ode-to-st-lucia-and-animation

Conversation

@tomadowley

Copy link
Copy Markdown

Added a new canvas animation called St Lucia lights (aurora orbit) and integrated it into the static site.

What changed:

  • assets/animation-aurora-orbit.js: Implemented createAuroraOrbitProject, which renders ribbons, a star field, and orbiting particles that react to the pointer. It includes background gradient, twinkling stars, and a dynamic ribbon glow. The project exposes lifecycle methods (start, stop, resize, render) and is designed to work with the existing environment.
  • assets/main.js: Imported createAuroraOrbitProject and added the new animation to the projects array so it appears in the UI alongside the existing animations.
  • README.md: Appended an Ode to St Lucia poem to celebrate the new feature; the site remains a minimal, static template.

How it works:

  • The animation seeds stars and orbiters on resize, draws a night-sky background, multiple aurora ribbons, and orbiting elements that respond to cursor proximity.
  • It requires no build step and uses the existing canvas-based project framework.

Notes:

  • All changes are additive and do not affect existing animations.
  • Colors and speeds are defined in the animation file and can be tweaked for customization.

Technical Details

  • Base branch: master
  • Head branch: cosine/add-ode-to-st-lucia-and-animation
  • Latest commit: 7c1ad63e5cccc904356089a27fe547ff682485dd

Commits

  • feat: Add 'St Lucia lights' animation and update README (7c1ad63)

Added a new animation module 'assets/animation-aurora-orbit.js' to the project. Registered this new animation as 'St Lucia lights' within 'assets/main.js'. Updated the README.md file to include a new section titled 'Ode to St Lucia'. Verified that the README content is accurate, the new animation module is correctly imported and registered, and the static server can serve the necessary assets with HTTP 200 responses.

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