MCPcopy Index your code
hub / github.com/LingDong-/fishdraw

github.com/LingDong-/fishdraw @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
75 symbols 262 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

fishdraw

procedurally generated fish drawings. demo

  • generates all sorts of weird fishes
  • outputs polylines (supported format svg, json, csv, etc.)
  • full procedural generation, single file no dependencies
  • plotter-centric
  • export drawing animation:

usage

basic

node fishdraw.js > output.svg

specify seed (from a string), speed of drawing and output format:

node fishdraw.js --seed "Biggus fishus" --format smil --speed 2 > output.svg
  • the seed string is used as the name of the fish (printed in the drawing). If unspecified, a random pseudo-Latin name will be auto generated.
  • the speed number is used to control the speed of drawing animation. Larger the number is, faster it draws. This option works only with format smil.
  • format options: svg (regular svg), smil (animated svg), csv (each polyline on a comma-separated line) and json.

use as JS library:

const {fish,generate_params} = require('./fishdraw.js');
let polylines = fish(generate_params());
console.log(polylines);

gallery

Core symbols most depended-on inside this repo

Shape

Function 75

Languages

TypeScript100%

Modules by API surface

fishdraw.js75 symbols

For agents

$ claude mcp add fishdraw \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page