GithubHelp home page GithubHelp logo

zhangnoname / suika Goto Github PK

View Code? Open in Web Editor NEW

This project forked from f-star/suika

0.0 0.0 0.0 1.81 MB

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

Home Page: https://blog.fstars.wang/app/suika/

License: MIT License

Shell 0.04% JavaScript 0.86% TypeScript 96.02% CSS 0.03% HTML 0.08% SCSS 2.98%

suika's Introduction

Screenshot

Suika

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

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

Suika Editor

Feature

  • Graphics 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

编辑器内核的类结构设计:

https://f5b8b9lm1y.feishu.cn/mindnotes/DgJRb2GpGmdGdKnfl3rcJzw6n5e#mindmap

Chat

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

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

Post

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

如果你想学习如何开发 Web 图形编辑器,看这个文章合集:链接

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

Material

suika's People

Contributors

f-star avatar lumixraku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.