Particle Effect Frame Generator
Simulate sparks, snow, smoke or confetti as PNG frames and an editable flipbook layer.
How it works
Set up a seeded particle emitter — shape, rate, burst, lifetime, direction, speed, gravity, wind and drag — and choose how size, color and opacity change over each particle’s life with CSS easing curves. Get a transparent PNG sequence, a contact strip, per-frame particle counts and, for up to 24 drawings, an editable Flipline drawing whose particle layer you can open and draw over.
- Spawning: a start burst at time 0, then one particle every 1/rate seconds. Each particle draws its position on the emitter shape, direction (direction ± spread/2, or away from the shape centre), speed, lifetime and size factor from a seeded mulberry32 stream keyed by seed and particle number, so changing one setting never reshuffles unrelated particles. At most 20000 particles are emitted.
- Motion is evaluated in closed form at every frame time t = frame/FPS (plus the pre-roll): without drag p = p0 + v0·a + ½·g·a²; with linear drag k, p = p0 + (g/k)·a + (v0 − g/k)(1 − e^(−k·a))/k, where a is the particle’s age. Gravity points down and wind right, in pixels per second squared. Seamless loops spawn over one loop length and wrap ages by it, so frame N+1 would equal frame 1.
- Over life q = age/lifetime, size, opacity and color follow CSS easing curves (the same engine as the Easing Curve tool and Motion Desk): value = start + (end − start)·ease(q); colors mix in linear light. Sizes are clamped to 1–100 px and opacity to 0–1; particles whose centre leaves the canvas are not drawn.
- Each particle is one Flipline brush mark: Dot = a single Studio-ink dab, Glow = the four concentric Soft-airbrush dabs. The PNG frames are rasterized from exactly these dabs with deterministic arithmetic (one-pixel anti-aliased edges, normal alpha compositing), so app and tool produce identical files. Editable drawings hold at most 24 drawings, 500 particles per drawing and 2000 marks in total; PNG sequences allow 240 frames, 4000 visible particles per frame and 40 megapixels in total.
Sources
Part of Flipline
-
Flipline Drawing, storyboards & animation
A few drawings. A little life. Make a flipbook in your browser.
Related tools
- Easing Curve & Frame Spacing – See where a CSS or Lottie easing lands on every animation frame.
- Pressure Brush Stroke Renderer – Render textured pressure strokes as SVG and editable Flipline drawings.
- Animation Exposure Sheet – Turn drawing holds into a precise animation timing sheet.
How to use the Particle Effect Frame Generator
Simulate sparks, snow, smoke or confetti with a seeded emitter and get transparent PNG frames plus an editable Flipline layer you can draw over.
What it is for
Hand-drawing forty drifting embers frame by frame is slow. This tool runs a particle emitter for you: particles are born on a point, line, rectangle, ellipse or ring, fly off with a speed and direction, are pulled by gravity, wind and drag, and change size, color and opacity over their life. You get every frame as a transparent PNG inside a ZIP, a contact strip of five frames, the number of visible particles per frame and, for effects up to 24 frames, an editable Flipline drawing whose particle layer you can open, retime or paint over.
The emitter is seeded: the same settings and seed always give the same frames. It is a 2-D look tool, not a physics engine: particles never collide or bounce.
Worked example
I kept the default Rising embers preset (a 420 px line emitter at the bottom of a 960 × 540 canvas, 30 particles per second, 1.6 s lifetime, glow particles, seamless loop) at 12 FPS and 24 frames. The tool answered "24 particle frames with at most 51 visible particles." It emitted 60 particles in the two-second loop, and the per-frame counts stayed between 46 and 51, so the effect has an even density with no empty start.
For a firework-style pop I chose Custom, a ring 120 px wide in the centre, rate 0, a burst of 48, looping off, "throw particles away from the shape centre" on, speed 300, gravity 200, drag 1, lifetime 1.2 s ± 20 % and an opacity easing of ease-in over 16 frames. All 48 particles stay visible until frame 10; then they die off: 47, 43, 36, 26, 20, 17 on frames 11–16, because each lifetime falls somewhere between 0.96 and 1.44 seconds.
How to read the result
- Metrics: number of frames, duration in seconds, particles emitted and the most visible at once. The last number decides whether the effect fits an editable drawing (500 per drawing, 2000 marks in the whole project).
- Contact strip: frames at 0 %, 25 %, 50 %, 75 % and 100 % of the sequence.
- PNG sequence (ZIP):
particles-0001.pngonwards plusparticles.jsonwith size, FPS, loop flag, counts and the full emitter. - Editable Flipline drawing and Open in Flipline: each particle is one brush mark on a top layer called Particles. In Flipline the layer has an Edit particles button that reopens the emitter.
- Particle recipe: a small JSON file the Particles dialog in Flipline can open.
- Visible particles per frame: spot empty frames or density spikes.
Tips and common mistakes
- Emitter width, height, speed and forces are in pixels, not percent. A preset made for 960 px looks sparse on a 200 px canvas; scale the emitter with the canvas.
- Direction 90 is up and 0 is right; gravity is positive downward. Negative gravity makes smoke and embers rise.
- Seamless loop wraps every particle's age by the loop length, so the last frame flows into the first. It ignores the start burst; turn looping off for one-off bursts.
- Use Pre-roll on non-looping effects so the first frame is already full instead of starting with a single particle.
- Easings accept the same CSS text as the Easing Curve tool:
ease-in,cubic-bezier(0.34, 1.56, 0.64, 1)orsteps(3)for flickering size changes. - Particles whose centre leaves the canvas are not drawn.
FAQ
Can I get more than 24 frames?
Yes, up to 240 frames as a PNG sequence (at most 40 megapixels in total). Editable drawings stop at 24 drawings, so longer runs skip the project and say so.
Are the PNGs identical to what Flipline shows?
The app's PNG download and this tool produce byte-identical files. The drawing board paints the same dots; edge smoothing can differ by about a pixel.
Why do glow particles look fainter than dots?
Glow uses the Soft airbrush stamp: four rings whose pigment fades toward the edge, so the centre reaches about half of the opacity you set.
Does a bigger burst reshuffle the particles?
No. Each particle's randomness depends only on the seed and its own number, so existing particles stay put.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://fliplineparticleframes.usefulweb.app/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://fliplineparticleframes.usefulweb.app/mcp· tool nameflipline_particle_frames
Example request
curl -s -X POST https://fliplineparticleframes.usefulweb.app/api/v1/calculate \
-H 'content-type: application/json' \
-d '{}'