[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109659":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},109659,"leviathan","0xCodez\u002Fleviathan","0xCodez","LEVIATHAN — an 83-second anime short rendered entirely in code: three.js cel shading + painted backgrounds, packed into one HTML file.",null,"JavaScript",75,15,53,0,4,19,1,47.51,"Other",false,"main",true,[],"2026-11-04 14:25:16","2026-11-21 18:03:54","# LEVIATHAN · リヴァイアサン\n\nAn 83-second anime short where every frame is rendered by code: no video model, no image model, no hand-drawn frames.\nA colossal archer draws a giant bow on a sunlit coast and fires a harpoon that climbs into orbit. Out at sea, four whales\nrise beside a fleet of container ships. They are lures inside the mouth of a leviathan. The harpoon comes back down from\nspace, drives through the beast in a storm of lightning, and the sea takes the fleet.\n\n![breach](docs\u002Fbreach.jpg)\n\n| | |\n|---|---|\n| ![archer](docs\u002Farcher.jpg) | ![release](docs\u002Frelease.jpg) |\n| ![whales](docs\u002Fwhales.jpg) | ![maw](docs\u002Fmaw.jpg) |\n| ![wave](docs\u002Fwave.jpg) | ![pierce](docs\u002Fpierce.jpg) |\n\n**Watch:** download `dist\u002Fleviathan_lite.html` (or the full-quality `leviathan.html` and the MP4 from the\n[Releases](..\u002F..\u002Freleases)) and open it in any browser. It is one self-contained file and works offline.\n\n> An anime-style remake of a short by ★ AHMII ★: same story and shots, redrawn bright in cel style, with original\n> music. Not affiliated. Made with [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code).\n\n---\n\n## How it looks like anime\n\nThe film is a three.js (r170, WebGL2) scene drawn through a custom multi-pass pipeline that imitates a cel +\npainted-background production, the same engine as [Sunshower](https:\u002F\u002Fgithub.com\u002F0xCodez\u002Fsunshower):\n\n| Pass | What it does |\n|---|---|\n| shadow \u002F reflection | character-only shadow map (painted lighting, not physics); mirrored camera for the water |\n| main (MRT) | colour + a data buffer (view normal, depth, material id) |\n| paint | depth-aware Kuwahara \"brush\" filter on background pixels only → gouache look |\n| ink | hand-inked lines on cel pixels only: id \u002F depth \u002F normal edges, pressure noise |\n| water | screen-space sea at kilometre scale: swell, whitecaps, reflections, glitter, foam |\n| atmosphere | haze, spray, light shafts |\n| overlay | drawn energy, lightning and water FX |\n| bloom \u002F grade | glow on emissives, high-key anime grade, film grain |\n\n* **Everything is 3D under the drawing.** The archer is built from convex armour plates with projected panel lines,\n  the leviathan is a bent skinned surface with a procedural hide, the ships are instanced containers on a hull.\n* **Animation is on twos and threes**, like film anime: characters at 12 drawings a second, water FX at 8.\n* **Every frame is a pure function of time.** Frames can render in any order, so the headless render is resumable and\n  deterministic.\n* **Sound is fully synthesized** with Web Audio `OfflineAudioContext`: brass, strings, sub drones, whale song, the\n  bowstring, sonic booms, thunder and the sea, all locked to the story beats (`CUES` in `src\u002Fshots.js`).\n\n## How it was made\n\nOne director session and parallel agent teams in Claude Code, working from a shared production bible\n([CONTRACT.md](CONTRACT.md)): archer, leviathan, ships, world, underwater, energy FX, water FX, sound. Each team owned its\nown files and rendered stills to check its shots against the reference.\n\n## Run it\n\nRequirements: Node 18+, Google Chrome (or set `CHROME=\u002Fpath\u002Fto\u002Fchrome`), and `ffmpeg` on `PATH`.\n\n```bash\nnpm install\n```\n\nServe the folder with any static server and open `index.html?scale=1` to scrub through the film live:\n\n```bash\nnpx serve .\n```\n\nRender stills for review:\n\n```bash\nnode tools\u002Fsnap.mjs --scale 1 s:breach t:41 \"q:test=1&cam=0,60,300&at=0,60,0&t=10=name:mycam\"\n```\n\nFull build: soundtrack, film (resumable segments), single-file player in `dist\u002F`:\n\n```bash\nnpm run build\n```\n\n## Layout\n\n```\nsrc\u002Fshots.js        story beats (CUES), the 39 shots, cameras registry\nsrc\u002Fcams\u002F           cameras and looks for each department's shots\nsrc\u002Farcher*.js      the archer, bow; src\u002Farrow.js the harpoon arrow; src\u002Ftether.js its cable\nsrc\u002Fleviathan.js    the monster + lev-*.js (body, hide, limbs, spine, whales, animation)\nsrc\u002Fships*.js       container ships, deck, bridge, the giant swell\nsrc\u002Fworld*.js       sky, ocean, coast, planet, port  (+ bgmaterials.js, passes-env.js)\nsrc\u002Funder*.js       the underwater world and its staging\nsrc\u002Ffx-energy*.js   charge, lightning, sky tear, plasma\nsrc\u002Ffx-splash*.js   breach water, plumes, the water mountain, the crash\nsrc\u002Faudio*.js       the synthesized soundtrack\ntools\u002F              snap (stills), render (MP4), render-audio (WAV), build-player (HTML), check\nplayer\u002Fplayer.html  the single-file player template\n```\n","LEVIATHAN 是一个完全由代码实时渲染的83秒动画短片，所有画面均通过 Three.js（WebGL2）在浏览器中动态生成，无需视频、图像或手绘帧。项目采用自研多通道渲染管线，融合赛璐珞着色、手绘质感背景、深度感知滤波、手绘描边、大规模海面模拟及全合成音效，实现高表现力的动画风格。动画以时间函数驱动，支持离线运行与确定性重渲染，适用于Web端艺术展示、技术演示、创意编程教学及轻量级交互动画原型开发。",2,"2026-11-24 04:37:06","CREATED_QUERY"]