Opus Motion ★ Star on GitHub

Image looks · comic-halftone

Comic halftone post FX

Print-comic finish over an image: posterised toon colour, 45° halftone ink dots in the midtones and shadows, ink outlines, colour misregistration and vignette, animated on twos.

A free, MIT-licensed image effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Comic halftone post FX: three frames of the image effect, start, middle and end
Comic halftone post FX — start, middle and end of the 5.0-second motion.

What Comic halftone post FX is for

Comic / pop-art stylisation of any still or render, playful explainers, a stylised hold before comic SFX overlays.

  • image
  • comic
  • halftone
  • pop-art
  • toon
  • outline
  • on-twos
  • post
  • registration-kick
  • misregistration
  • spot-ink
  • offset-shadow
  • cutout
  • scissor
  • dossier
  • riso
  • beat-sync

Details

Category
Image looks & photo effects
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
medium
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
shadowInk rimColor cutoutBg
Image props
src
Mood
dark, photo, comic
Roles
backdrop
Pairs with
Comic SFX burst, Manga speed lines + impact frame, Story caption box

Use Comic halftone post FX in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add comic-halftone --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render comic-halftone --props '{"shadowInk":"#2b49c4","rimColor":"#f6f1e4","cutoutBg":"#f2c230","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export comic-halftone --as mp4 --props '{"shadowInk":"#2b49c4","rimColor":"#f6f1e4","cutoutBg":"#f2c230","src":""}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="comic-halftone"
  props={{
    shadowInk: '#2b49c4',
    rimColor: '#f6f1e4',
    cutoutBg: '#f2c230',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="comic-halftone"
  props='{"shadowInk":"#2b49c4","rimColor":"#f6f1e4","cutoutBg":"#f2c230","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "comic-halftone",
      "props": {
        "shadowInk": "#2b49c4",
        "rimColor": "#f6f1e4",
        "cutoutBg": "#f2c230",
        "src": ""
      }
    }
  ]
}

Comic halftone post FX props

30 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
src""public/ image path; empty = procedural plate
seed1procedural plate seed
palette"dusk"procedural plate palette: dusk | night | dawn
dotPitch6halftone cell size in px at 1080p (5 in the source)
dotAngle45screen angle in degrees (45)
dotBand[0.2,0.75][lo, hi] luminance band that gets ink dots (0.2–0.75); outside it colours stay flat
inkStrength0.55how dark the dots print (0..1)
levels5posterise steps per channel
outline3.5ink outline width in px at 1080p (3–4)
edgeThreshold0.14edge sensitivity (lower = more lines)
misregister3colour misregistration offset in px
step2hold every drawing for N frames (2 = on twos, 1 = smooth)
push2.5slow push-in in %/s
pan-12lateral drift in px/s
vignette0.35corner darkening
grain0.06grain amount
registrationKick0opt-in: colour plates jolt apart and ring back into register on each kick frame; amplitude in px (8-14 typical, 0 = off)
kickFrames[30,75,120]frames the registration kicks land on (e.g. on the beats)
registrationDrift0opt-in: plates slowly drift apart up to N px (about 25) over driftRange, then snap back with a click (0 = off)
driftRange[30,110][from, to] frames of the drift; the snap lands on `to`
tint""opt-in mono mode: paper tint colour (e.g. #efe3c2); picture becomes ink-to-paper tones under the halftone dots (empty = full colour)
spotInks[]opt-in flat spot inks, dark to light (e.g. ["#1b2a6b","#e8452c"]); picture split into flat bands of these inks plus the paper tint
offsetShadow0opt-in misregistered offset shadow: outlines and deep shadows re-printed in shadowInk, shifted N px, multiplied (0 = off)
shadowInk"#2b49c4"colour of the offset shadow ink
shadowAngle45direction of the offset shadow in degrees (0 = right, 90 = down)
cutoutfalseopt-in scissor cut-out: a transparent-PNG src gets a faceted paper rim + drop shadow on a flat background; opaque images are cut to a hand-cut ellipse
rim14cut-out rim width in px at 1080p
facets5cut-out polygon tolerance in px (higher = fewer, more angular scissor facets)
rimColor"#f6f1e4"cut-out rim paper colour
cutoutBg"#f2c230"flat background colour behind the cut-out

Notes & credits

Technique sources:

  • video12 0:00-1:10 comic-halftone-postfx
  • video12 render-on-twos