Pages

Monday, 3 February 2025

klecks, 基于nodejs的画图工具

 painting tool powering Kleki.com

klecks.org 

🖌️ Demo | ❓ About | 📝 Dev Blog

Klecks (German for "splash of color", pronounced "clex") is the official open-source release of the community-funded online painting app Kleki.

Klecks can run in standalone mode (e.g. on kleki.com), or embed (e.g. on 2draw.net) for drawing communities.

Features

  • Layers
  • Pen-support with pressure and stabilizer
  • Touch gestures
  • Brushes: pen, blend, sketchy, pixel, chemy, smudge, eraser
  • Tools: selection, paint bucket, text, shapes, gradient
  • WebGL-powered filters: blur, tilt-shift, curves, distort, noise.
  • Lineart extraction
  • Editing tools: transform, crop/expand, resize, perspective
  • Supports all major form factors: desktop, tablet and phone
  • Multi-language (10+ languages)

Created by developer/artist bitbof

Commands

  • initialize via npm install (requires node and npm to be installed already)
  • npm run lang:build - generate language files necessary to run Klecks
  • npm run start - dev server (to run it locally)
  • npm run build - build standalone into /dist/
  • npm run build:embed - build of embed into /dist/
  • npm run build:help - build help page (when clicking the questionmark) into /dist/

Embed

Example usage of the embed can be found under: /examples/embed/

from https://github.com/bitbof/klecks

 

No comments:

Post a Comment