remocn ✕ OrcDev — New sponsor
remocn-demo/sponsor-orcdevFreeBlock
remocn demo composition "remocn ✕ OrcDev — New sponsor" — installs the full Remotion composition. Generated with AI from the prompt in demos/sponsor-orcdev/prompt.md.
Install it
npx shadcn@latest add https://collections.remocn.dev/r/sponsor-orcdev.jsonSource
1import React, { useState } from "react";2import { AbsoluteFill, Img, continueRender, delayRender, interpolate, useCurrentFrame } from "remotion";3import { demoAsset } from "@/lib/demo-assets";4import { TransitionSeries, linearTiming } from "@remotion/transitions";5import { Gif } from "@remotion/gif";6import { loadFont as loadPixel } from "@remotion/fonts";7import { loadFont as loadSans } from "@remotion/google-fonts/Geist";89import { ShaderDithering } from "@/components/remocn/shader-dithering";10import { ditherDissolve } from "@/components/remocn/dither-dissolve";1112// 8bitcn speaks shadcn's language — Geist Sans for the small print…13const { fontFamily: SANS_FAMILY } = loadSans("normal", {14 subsets: ["latin"],15 weights: ["400", "500"],16});1718// …and Geist Pixel (Square) for everything that shouts. Loaded inside the19// composition — module-scope loadFont fires its delayRender before any20// composition is mounted and the render proceeds without the font.21const PIXEL_FAMILY = "Geist Pixel";22const usePixelFont = () => {23 // Loaded in an effect (module-scope loadFont fires its delayRender before24 // the composition mounts and dies silently). The composition renders25 // nothing until the font is in document.fonts, and continueRender waits two26 // rAF ticks after the state flip so the screenshot never catches the27 // fallback font mid-swap.28 const [loaded, setLoaded] = useState(false);29 React.useEffect(() => {30 const handle = delayRender("geist-pixel");31 loadPixel({32 family: PIXEL_FAMILY,33 url: demoAsset("fonts/GeistPixel-Square.woff2"),34 })35 .catch(() => undefined)36 .then(() => {37 setLoaded(true);38 requestAnimationFrame(() =>39 requestAnimationFrame(() => continueRender(handle)),40 );41 });42 return () => continueRender(handle);43 }, []);44 return loaded;45};4647const PIXEL = `${PIXEL_FAMILY}, monospace`;48const SANS = `${SANS_FAMILY}, -apple-system, BlinkMacSystemFont, sans-serif`;4950// orcdev palette — black canvas, the paper.design dithering preset's #00800051// for the backdrop dots, and the bright orc-skin green sampled straight from52// the orcdev avatar for the accent.53const BG = "#000000";54const DOT_GREEN = "#008000";55const ORC_GREEN = "#8ec71e";56// HP-bar damage states — classic health-bar traffic light.57const HP_YELLOW = "#f7d51d";58const HP_RED = "#e53935";59const INK = "#fafafa";60const MUTED = "rgba(250,250,250,0.55)";61const FAINT = "rgba(250,250,250,0.4)";6263const clampOpts = {64// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from remocn-demo
All 22 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Agent Skills — Claude Code makes the videoagent-skills | remocn-demo | Blocks | Free | 5 deps · 8 files | |
| Batchwork — Unified Batch APIbatchwork | remocn-demo | Blocks | Free | 4 deps · 4 files | |
| Changelog — Rolling Numberschangelog | remocn-demo | Blocks | Free | 4 deps · 5 files | |
| Changelog — New Chat Componentschat-changelog | remocn-demo | Blocks | Free | 5 deps · 4 files | |
| Fonttrio — Three fonts. One command.fonttrio | remocn-demo | Blocks | Free | 5 deps · 4 files | |
| remocn — Introducing remocn (shaders cut)introducing-remocn | remocn-demo | Blocks | Free | 4 deps · 3 files | |
| shadcn/ui — Introducing shadcn/ui (gift cut)introducing-shadcn | remocn-demo | Blocks | Free | 11 deps · 38 files | |
| Changelog — Eleven New Transitionsnew-transitions | remocn-demo | Blocks | Free | 4 deps · 3 files |
