Polyserver
Image vectorizing server
Install / Use
/learn @possan/PolyserverREADME
Poly Server
A simple api that downloads an image from the interwebs and applies a delaunay triangulation on top of it, returning the list of triangles.
-
Install dependencies
npm install -
Start server
node app.js -
Issue a query
curl -i -X POST -d url=https://i.scdn.co/image/93b353b8bb28ee2b9db2f4ebb661bb3280456c80 -d cutoff=5000 http://localhost:3000/convertthat will return a json with your triangles in the format:
{ width: 200, height: 200, tris: [ { x0: 0, y0: 0, x1: 100, y1: 0, x2: 100, y1: 100, r: 255, g: 0, b: 255 }, ... ] } -
Write a renderer for it.
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
