
Glyphloop
io.github.ideoshi由 GitHub 帳號 ideoshi 發布v0.1.0-beta.0更新於 Oct 24, 2026
Create loop-perfect ASCII animations and website-ready embeds with an AI agent.
概覽
讓助理產生無縫循環的 ASCII 動畫,並匯出為 PNG、GIF、MP4、網頁嵌入或終端播放器。
- 可以做什麼
- Glyphloop 是一套生成式 ASCII 動畫工具,以本機 MCP 伺服器與 CLI 的形式提供。助理可以用運算式字串定義動畫與 3D 形狀,選用流場、波干涉、矩陣雨、變形雜訊團等內建預設,並逐格確定性地算圖輸出。匯出格式包括 PNG 影格、GIF 與 MP4 影片、內含 frames.json 與 player.js 的自包含網頁嵌入壓縮檔,以及終端播放器壓縮檔。效果可疊加在圖片、影片或文字上並沿用其顏色。
- 適用情境
- 當助理需要為網站、終端或影片製作無縫循環的 ASCII 藝術或動態圖像,或需要自行撰寫參數化動畫運算式時,適合安裝。它是僅限桌面的本機工具,不適合託管或純瀏覽器環境。
- 執行需求
- 以本機 stdio 程序執行,通常透過 npx glyphloop mcp 啟動,因此需要 Node.js 20 或更新版本。未宣告任何帳號、API 金鑰、環境變數或標頭。MP4 匯出使用 WebCodecs,建議使用 Chrome;其他工作流程在現代瀏覽器中均可執行。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Glyphloop,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Glyphloop
A browser studio and headless toolkit for creating loop-perfect generative ASCII animations: flow fields, wave interference, morphing noise blobs, matrix rain, rotating 3D shapes, custom math expressions, and parametric surfaces. Layer effects over images, video, or text, inherit their colors, and export to PNG, GIF, MP4, self-contained web embeds, or terminal players.
Also usable headless by AI agents through the package CLI or MCP server - agents can even define their own animations and 3D shapes as expression strings. See AGENTS.md.
Glyphloop = glyphs + seamless loops.
Try the hosted studio with no account, or see live examples.
Local Studio
Node.js 20 or newer is required. Chrome is recommended because MP4 export uses WebCodecs; the other workflows work in modern browsers.
CLI and MCP
The package exposes one glyphloop executable with two commands:
From a source checkout, the equivalent development commands are:
render accepts a built-in preset name, a preset JSON file, or inline JSON.
Run node bin/glyphloop.js --help for the complete command summary.
Use
- Pick an effect source and tweak its parameters live - or drag & drop any image/video onto the editor to ASCII-fy your own design with its colors intact.
- Style it: character ramp (or type your own), gamma, invert, mono or two-color gradient.
- Set grid columns, cell size, aspect ratio, duration, and FPS. Imported media starts at its native aspect ratio, and raster exports can match its exact pixel dimensions.
- Export:
- PNG - current frame, at 1–3× scale.
- GIF / MP4 - one animation pass, rendered deterministically frame-by-frame (never drops frames). Generated motion wraps seamlessly.
- Web embed (zip) -
frames.json(RLE-compressed character frames) +player.js(tiny dependency-free player, honorsprefers-reduced-motion) + a demoindex.html. Drop the two files into any site and add<div data-ascii-player></div>. - Terminal (zip) -
frames.ans+play.sh; runbash play.shto loop the animation in a terminal.
The editor includes six starter presets. Presets can also be saved to
localStorage or downloaded/loaded as JSON via the header bar. A shared preset
can be opened with /studio/?preset=flowfield-hero.
Imported media stays in the browser; Glyphloop does not upload it. For a stable beta experience, images are limited to 25 MiB and 40 decoded megapixels, videos to 100 MiB and the first 20 seconds, and preset files to 10 MiB. Very large render workloads are rejected with guidance to reduce scale, columns, FPS, or duration.
The hosted website and Studio send a small allowlisted set of anonymous product events to a first-party Cloudflare endpoint. Creative inputs and outputs are never included. Source checkouts, the CLI, and the MCP server send no analytics. See the hosted privacy notice.
Source color vs image palette
These are two different ways to color imported media:
- Color mode: source samples the image or video at every grid cell, so each glyph keeps the local color beneath it. It preserves multicolor artwork and follows changing video colors frame by frame.
- Set ink & paper from image extracts a small representative palette and fills the Ink, Ink 2, and Paper controls. Choose mono or gradient to render with those curated colors instead of retaining every source color.
In short: source mode preserves the image's color map; the palette action uses the image as inspiration for a controlled Glyphloop color scheme. The Studio's Undo image palette action restores the exact ink and paper colors that were set before palette extraction.
Why generated loops are seamless
Glyphloop's built-in sources and periodic expressions are pure functions of
time with no per-frame state. All noise is
sampled along a circle in two extra noise dimensions
(src/core/noise.ts:loopCoords), and all sine phases advance by integer
multiples of 2π per loop - so frame N wraps back to frame 0 exactly. Exports
render round(fps × duration) frames starting at t=0 and never render
t=duration (frame 0 is the wrap).
Imported video is not made loop-perfect automatically. Glyphloop samples one pass of the clip across the animation duration, then playback repeats from the start. The composite is seamless only when the source video was already designed to loop, as in the Claude jellyfish example, or when the imported base is a still image.
Development
Architecture: Source → FieldFrame (brightness grid) → AsciiMapper → CanvasRenderer → exporters.
Licence, outputs, and brand
Glyphloop's software, including the editor, renderer, CLI, MCP server, exporters, presets, and generated embed player, is available under the MIT licence.
Glyphloop claims no ownership in content you import or animations you export. You may use exported animations commercially without attribution, subject to any rights applicable to your source materials.
The Glyphloop name and visual identity are not licensed under MIT. Demo and marketing media are separately labelled. See TRADEMARKS.md and LICENSES/ASSETS.md.
Issues and focused feedback are welcome during the beta. See CONTRIBUTING.md and SECURITY.md.
來源:README.md,提交 013191a
工具
0版本歷史
1- v0.1.0-beta.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分