Recipe · landscape · 2 layers
Error / 404 glitch
Error, 404, outage and "something broke" states — a glitching night plate with a stamped code.

Motions in this recipe
Use it in Remotion, React or HTML
CLI
# render the recipe to out/error-glitch.mp4 (run in the library folder)
node cli/mgl.mjs recipe error-glitch --overrides '{"stamp-slam":{"lines":["ERROR","404"]}}'
# copy just this recipe's source into a Remotion / React project
node cli/mgl.mjs add error-glitch --to ../my-app/srcReact
import {MotionMix} from 'opus-motion-library/web';
<MotionMix recipe="error-glitch"
overrides={{'stamp-slam': {lines: ['ERROR', '404']}}}
playOnView
/>HTML
<script src="opus-motion.element.js" defer></script>
<opus-motion recipe="error-glitch"
overrides='{"stamp-slam":{"lines":["ERROR","404"]}}'>
</opus-motion>recipes/error-glitch.json
{
"id": "error-glitch",
"title": "Error / 404 glitch",
"useFor": "Error, 404, outage and \"something broke\" states — a glitching night plate with a stamped code.",
"format": "landscape",
"duration": 150,
"background": "#000",
"tags": [
"error",
"404",
"glitch",
"broken",
"fail",
"outage",
"state",
"dark"
],
"web": {
"loop": "restart"
},
"layers": [
{
"motion": "glitch-image",
"role": "backdrop",
"props": {
"palette": "night",
"intensity": 0.9
}
},
{
"motion": "stamp-slam",
"role": "type",
"props": {
"lines": [
"ERROR",
"404"
],
"preTitle": "",
"keyword": "page not found",
"keywordStyle": "box",
"keywordFont": "sans",
"slamAt": 18,
"keywordAt": 54,
"y": 0.36,
"keywordY": 0.66,
"backdrop": "none",
"push": 0,
"color": "#c14d3c"
}
}
],
"notes": "Change stamp-slam.lines / keyword. Use glitch-image.src for a screenshot of your own UI breaking."
}
