Particle Effects
A Canvas particle kit: starfields, snow, smoke, gravity fields and more, with tunable variants.
Tech: Canvas, particles, RAF
- Starfield — Each star has depth z, z decreases over time, screen position Currently = centre + direction / z, the closer you get, the faster you get; a warp graft
- Snowfall — Snowflakes fall from the top at even speeds and waver around the right and the bottom resurfaces from the top; wind tilts the direction of the drop.
- Golden Rain — The long gold segment is fast-defeating, with small sparks s Adviceing at the bottom; some of the gold pellets are flashing crosslights.
- Smoke Column — Smoke rises Population rises from bottom to height, Transparent and spread across the sides by a proliferation angle; the pointer blows the smoke like the wind.
- Fireflies — Each swirling curve along two different frequencies (Lisa trajectories) moves slowly, and the brightness breathes slowly; fireflies close to the pointer are attracted closer.
- Spark Fountain — Each spark ejected with a random angle and initial velocity, followed by a gravitational effect to act as parabolic motion, and the colour was darkened by white heat.
- Gravity Well — Each particle orbits around the pointer around, and the more gravity, the smaller it is, The faster it goes (like planets: the faster it goes).
- Repulsion Field — The particles are drawn into a full grid, the particles near the pointer are pushed away and the thrust decreases with distance; the post-exit bullet returns to its original position and takes a light breath.
- Following Swarm — Each individual follows the pointer, but follows different delays and moves around the target in small circles, like a group. Small Fish / Bee.
- Explosion Debris — Three staggered-time blast sites, debris coming out of the center in a random direction and slowing down, Gravity falls and gradually dies; the first blast point follows the pointer.
- Spiral Galaxy — The star point is distributed along a logarithmic spiral over several spiral arms, and the faster it moves in (distant rotation), the centre being a bright nuclear ball; the pointer tilts the galaxy.
- Heart Field — The particles are distributed near the heart curve, and the whole body is scaled by the rhythm of the heartbeat (quick zooming), Slow down; particles are gently pushed away when the pointer approaches.
- Dot-matrix Text — Draw the text to the screen canvas, then sample it every few pixels, and put a particle in colour; the particle floats slightly near the target position, the pointer approaches
- Pulsing Grid — A circle of circular waves is sent from the pointer position, and the points through which the peak passes magnify and brighten, as the buoys on the water rise and fall.
- Wave Particles — The particles are lined in multiple rows, each line rises up and down along the sine wave, staggering between the rows into a 3D up and down surface; the wave at the pointer position is higher.
- Comet — Each comet cuts through the sky along an oscillating line, and the tail is made up of many small and faded particles that are the trajectory of the past position of the head of the comet.
- Rising Bubbles — The bubble rises from the bottom, the right and left swings up, and the closer to the top, the more transparent it becomes; the bubble that the pointer touches will be pushed away.
- Falling Leaves — The leaves are slowly falling, while the right and left are rocked and rotated around themselves; the shape of the leaves is an elliptical leaf spelled out in two arcs.
- Dust Storm — A slanted light comes in from the left, and the floating dust is lighted in the beam, almost invisible outside the beam; the beam moves with the pointer.
- Neon Dots — The point of light drifts in the image, drawing a line at a distance less than the "connected distance" and the closer the line becomes brighter; the color changes slowly with the position.
- Quantum Jitter — The atomic nucleus is at the centre, with electrons moving along an oscillating elliptical orbit; the more the electron clouds spread, the more the `probability cloud' particles around each electron spread, reflecting the uncertainty of quantum.
- Connection Net — Authorized to move slowly in the image and connect to the nearest node; the pointer is a special "junction" that will suffocate the nearby node lightly and connect all of it.
- Black-hole Accretion — The more the particles rotate around the flat suction center, the faster they move inside, The hotter it gets, the more bright it gets
- Rainbow Fountain — The particles line up multilayer concentric arcs into rainbows, each layer of color = Main color + Layer × Span / layers; particles flow along arc lines, point point points…