xiaohongshu
xiaohongshu
celebration-animation-generator
This skill generates self-contained p5.js celebration animations for educational MicroSims. Use this skill when users request creating new celebration animations, particle effects, reward animations, or visual feedback for student achievements. The skill creates a new animation JavaScript file in...
Full skill instructions
This skill generates self-contained p5.js celebration animation modules for the reading-for-kindergarten intelligent textbook project. Each animation is a single JavaScript file that can be copied into any MicroSim folder to provide visual celebration feedback when students complete tasks correctly.
Use this skill when users request:
Extract from the user's description:
Create a new JavaScript file in /docs/sims/shared/animations/ following the template pattern in references/animation-template.md.
Key requirements:
baseballExplosionParticles)drawBaseballBE())create[Name](params, speedMultiplier) - Initialize particlesupdateAndDraw[Name]() - Physics and renderingis[Name]Active() - Check if animation is playingclear[Name]() - Stop animation immediatelyspeedMultiplier parameter (0.5=slow, 1.0=medium, 1.8=fast)After creating the animation file, update /docs/sims/animation-lib-tester/ to include the new animation:
<script> import for the animation fileanimationTypes arrayupdateAndDraw[Name]() call in the draw() functionclear[Name]() call in the triggerCelebration() functionAdd the new animation to /docs/sims/shared/animations/README.md:
| Pattern | Description | Example Use |
|---|---|---|
| Burst Up | Objects shoot upward from a point with gravity | Book Burst, Alphabet Fireworks |
| Float Up | Objects gently float upward | Yellow Stars, Balloons |
| Fall Down | Objects fall from top | Happy Star Sprinkle, Confetti, Spark Shower |
| Explode Out | Objects radiate outward from center | Rainbow Sparkle Burst, Magic Book Bloom |
| Zoom Across | Objects move horizontally | Reading Rocket Zoom |
| Pop/Bounce | Objects appear, bounce, then pop | Giggle Glitter Pop |
const rainbowColors = [
'#FF6B6B', // red
'#FF8E53', // orange
'#FFD93D', // yellow
'#6BCB77', // green
'#4D96FF', // blue
'#9B59B6', // purple
'#FF6B9D' // pink
];
{
x, y, // Position
vx, vy, // Velocity
size, // Size/radius
alpha, // Transparency (0-255)
fadeRate, // How fast alpha decreases
rotation, // Current angle
rotationSpeed, // Angular velocity
color, // p5.js color object
gravity, // Downward acceleration (for burst patterns)
wobble, // Oscillation factor (for floating patterns)
trail: [] // Array of past positions (for trail effects)
}
baseball-explosion.jscreateBaseballExplosion()baseballExplosionParticlesdrawBaseballBE()For request: "Baseballs exploding from the bottom middle of the screen"
baseball-explosion.jscreateBaseballExplosion(centerX, startY, speedMultiplier)updateAndDrawBaseballExplosion()isBaseballExplosionActive()clearBaseballExplosion()Contains the complete template for a new animation file with all required functions and documentation structure.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience