skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
moh4696/open-3d-skills138 installs

render-reel

Makes short "3D motion in process" product reels in three.js, where one code-built or loaded model cuts through render looks (a coral light-box hero, a mono studio with a mirror floor and HUD tags, paint or finish swaps with a scan line beside sliding glass spec slabs, a wireframe that draws on and breaks into dust) and back, timed beat for beat to a reference reel and recorded frame-exact. Includes a script that reads any reference video into contact sheets, cuts and a pace chart. Use when someone shares a Pinterest, Dribbble, Behance or Instagram product reel and asks for "this kind of video" or "this style" for their product, wants a lookdev or render-pass reel, a configurator-style colour-swap clip, a wireframe-to-solid reveal, or a fast looping product clip for X, Instagram or a launch page.

How do I install this agent skill?

npx skills add https://github.com/moh4696/open-3d-skills --skill render-reel
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a set of tools and assets for building 3D product reels using Three.js, including a Python script for analyzing reference videos. It operates locally and uses standard libraries and well-known CDNs for assets. No malicious patterns or security vulnerabilities were detected.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

What does this agent skill do?

Render reel

A render reel shows one object the way a 3D studio's work-in-progress would: the same model in several render passes, cut together fast. The looks are easy to copy; what makes the good ones good is how they move: shots that speed up into their cuts, a camera that holds while the product changes finish, lines that draw themselves on, a solid that grows out of its wireframe. This skill builds all of it from one render(t) function, so every frame is exact and repeatable.

Tools

FileWhat it does
scripts/study_reference.pyReads a reference video: contact sheets of every Nth frame, detected cuts, a chart of motion, brightness and colour over time, and a beat table with each shot's pace
assets/reel.jsThe kit: CameraTrack (orbit keys, speed ramps, cuts), studioEnv, Mirror (blurred planar reflection), studioTiles, gridLines, lightBox (stepped coral box that can build), wireframe, pointCloud, finishSweep, materialize, slabStack, drawingTexture, reelComposer (bloom and grade)
assets/demo/A complete 4.64 s reel of a code-built induction motor on the kit. ?t=2.2 freezes it, ?still=coral, mono, finish or wire holds a pose

Requires three.js r169 (the demo loads it from a CDN import map). Model the subject with threejs-scene or load a GLB. Record with frame-capture.

Workflow

1. Read the reference before building anything

Do not judge a motion reference from a handful of frames. Fifteen samples of a five second reel show its looks; every second frame shows its timing, its camera moves and its transitions, and those are what the person liked.

python3 scripts/study_reference.py ref.mp4 study/ --every 2

Look at every sheet_*.jpg and at timeline.png, then write a beat sheet: for each shot, its start and end, its look, what the camera does (and whether it speeds up or slows down), what changes inside the shot, and how it hands over to the next. The printed pace column is a hint (an accelerates into the cut shot is a push-in ramp); the sheets are the truth. Cut detection finds hard cuts only, so builds, wipes, dissolves and flashes have to be read off the sheets. If the reference only plays on a web page, read references/reading-a-reference.md for pulling its frames in a browser, and for the worked beat sheet this skill was built from.

Tell the person what you found in a few lines before you build. "It's four looks" is the shallow read; "each shot ramps into its cut, and the middle 1.6 s is a configurator" is the one that leads to a good result.

2. Prepare the subject

  • Put it on the floor (lowest point at y = 0), long axis on x, front (nose, drive end, lens) towards +x. The kit's sweeps and clips run along axis (default x) and the build-on runs from from (default top down).
  • Know its size. Camera distances, light-box size, tile size, grid spacing and point size all scale with it; references/looks.md gives working values for a 2.6 m vehicle and a 0.6 m machine.
  • Name meshes that should draw as a dense mesh in the wireframe (tyres) tyre or tire.
  • Keep the paint or bodywork in its own materials, so a finish swap repaints it and nothing else.

3. Build the looks

LookPiecesGrade
Coral light boxlightBox walls of stepped columns and darker cards, Mirror gradient floor, studioEnv(renderer, 'coral'), warm key, thin construction circles and an ID number in the HUDsaturation 1, light vignette
Mono studiostudioTiles on a Mirror texture floor (dimmed by a light pool), gridLines, studioEnv(renderer, 'mono'), white key and rim, HUD tags, reticle, render-pass textsaturation 0, contrast 1.12
Finishesthe mono studio, saturation back to 1, finishSweep on the paint, slabStack with section drawings and specs
Breakdownblack background, wireframe (x-ray, occluder off) and pointCloud, strong bloom, typed code, one red accentsaturation 0

references/looks.md has the values, and the traps that make each look fail.

4. Write the timeline as one function

function render(tt) {
  const t = ((tt % TOTAL) + TOTAL) % TOTAL;
  reset();                       // every per-shot state back to its default, every frame
  track.apply(camera, t);        // CameraTrack: orbit keys with an ease per span, 'cut' keys for hard cuts
  if (t < 0.88) look('coral');
  else if (t < 3.1) { look('mono'); /* floor gain, finish sweeps, slabs, saturation ramps */ }
  ...
  mirror.render(scene, camera); post.render();
}

Derive everything from t with ramp(t, a, b, ease): no state carried between frames, so any instant renders the same in a preview, a still and a recording. Resetting first means a shot can turn things on without the next shot having to turn them off.

The beat grammar that makes it move (all of it is in the demo):

  • Ramp into the cut. End a shot on an accelerating move (ease: 'in3' on the last span: a push-in or swing that is fastest at the cut), then cut.
  • Open fast, settle. Start the next shot mid-move and decelerate (out3): a crane up and back from a low angle.
  • Light as a transition. Open a studio shot high-key and dim it to a spot (uGain, pool radius); flood the floor bright in the last 0.25 s before a cut.
  • Hold and change. While the camera barely drifts, swap finishes every 0.25 s with a 0.1 s scan line (finishSweep), and slide a slab stack in with a 0.05 s stagger per plate and back out before the cut. Bring colour in with the first swap (saturation ramp 0 to 1).
  • Draw on, break up, re-form. Reveal the wireframe part by part from the top (reveal 0 to 1.15 over 0.35 s), dissolve the point cloud while the lines fade, re-form it as the camera pulls back, draw one red arc.
  • Materialise. Sweep materialize and wireframe.clip together nose to tail in about 0.1 s (the occluder makes the unbuilt part a dark body) while lightBox.build pops the stepped walls in and bright fades them from deep red.
  • Loop. Make the last camera key equal the first and end in the look you started in.

5. HUD

Keep the reel on a fixed stage (1080 x 1350 for a 4:5 feed clip) scaled to the window, with the HUD as DOM over the canvas: construction circles as SVG, a long ID number, a tag pinned to a 3D point (project it every frame), a reticle, render-pass text, typed code with one red value, a red arc drawn with stroke-dashoffset. Switch HUD sets with a data-look attribute on the stage.

For a real product, put names in plain text, not logos, and burn a short "unofficial" line into the frame when it is a fan piece.

6. Record and compare

python3 ../frame-capture/scripts/serve.py assets --port 8000
python3 ../frame-capture/scripts/record.py http://localhost:8000/demo/ reel.mp4 \
  --seconds 4.64 --fps 60 --size 1080x1350 --dpr 1.5 --browser webkit --ready "window.__reel"

The page defines window.__recordFrame = (t) => render(t), so the recorder owns time. Do not also run a requestAnimationFrame loop while window.__recording is true: it repaints after __recordFrame with its own clock, which includes the recorder's warm-up, and shifts the whole reel by a few frames.

Then run scripts/study_reference.py on your own render and compare it with the reference's beats: cuts within a frame or two, the same pace shape per shot. The chart makes a static shot obvious (a flat white line where the reference ramps).

Checks before showing anyone

  • Every shot renders at its first, middle and last frame (?t=), with no page errors.
  • The loop point is invisible: frame 0 and the last frame are the same pose and look.
  • The model never clips the frame edge in a way the reference does not.
  • Metals read as metal in every look (no rose-gold silver in the coral box, no blown highlights from the overhead softbox).
  • Text in the HUD never overlaps other text, in every look.
  • Specs shown on slabs or tags are true for a real product, or clearly invented for a fictional one.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/moh4696/open-3d-skills/render-reel">View render-reel on skillZs</a>