/suika

A Web Graphics Editor Built with Canvas. 基于 Canvas 实现的图形编辑器

Primary LanguageTypeScriptMIT LicenseMIT

Screenshot

Suika

Suika, an open-source vector graphics editor based on Canvas, similar to Figma.

西瓜牌图形编辑器,一款开源的基于 Canvas 实现的矢量图形编辑器,类似 Figma。

Suika Editor

Feature

  • Graphics editing, path editing
  • Tools: select, rectangle, ellipse, line, path, text, hand...
  • Zoom, arrange, align, fill, stroke...
  • KeyBinding, copy / paste
  • Pixel grid, Snap to pixiel grid, ruler
  • History: undo / Redo
  • Localization (i18n)

Develop

pnpm install
pnpm run dev

Build

pnpm all:build

The target output folder is packages/suika/build.

Editor core design

编辑器内核的类结构设计

编辑器功能清单

Post

Some Chinese language articles on how to develop a graphic editor.

如果你想学习如何系统开发 Web 图形编辑器,可以看我写的 文章合集

另外可以关注我的公众号,持续更新图形编辑器相关文章。

Chat

建了个图形编辑器交流的微信群

如果你是做图形编辑器开发或是感兴趣的,可以加我微信 frstars,备注 “图形群”,我拉你进群。

Material