Coder Social home page Coder Social logo

zhtyytg / pictode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jessyan0913/pictode

0.0 0.0 0.0 25.47 MB

๐ŸŽจ Pictodeๆœ€ๆ–นไพฟ้›†ๆˆ็š„็ป˜ๅ›พๅทฅๅ…ท

Home Page: https://pictode.com/

License: MIT License

Shell 0.05% JavaScript 2.14% TypeScript 76.54% CSS 0.38% HTML 0.35% Vue 20.54%

pictode's Introduction

Pictode ๐ŸŽจ

Welcome to Pictode - your canvas for unlimited creativity! ๐Ÿš€

banner

Experience it now

็ฎ€ไฝ“ไธญๆ–‡ | English

Pictode is a canvas project built on cutting-edge technologies like Vue 3, TypeScript, Konva, HeadlessUI, and Tailwind CSS. It empowers you to draw, create, and express your creativity freely. โœจ

Local Setup

  • Clone the repository locally
git clone https://github.com/JessYan0913/pictode.git
  • Install dependencies
cd pictode

npm i -g pnpm

pnpm bootstrap
  • ๅฏๅŠจ้กน็›ฎ
pnpm pictode
  • ่ฎฟ้—ฎ้กน็›ฎhttp://localhost:8800

๐Ÿ–Œ๏ธ Drawing Tools

Pictode offers a range of drawing tools, from simple rectangles to intricate lines, allowing you to craft your unique artworks. ๐ŸŽจ

  • Unleash your doodling talent with the โœ๏ธ Pencil tool.
  • Insert photos and colorful elements into your canvas with the ๐Ÿ“ท Image tool.
  • Express your thoughts and ideas with the ๐Ÿ–‹๏ธ Text tool.
  • Create perfect geometric shapes like ๐ŸŸฉ Rectangles, ๐Ÿ”ถ Diamonds, and ๐ŸŸค Ellipses.

๐Ÿช„ Import and Export

Share your artistic creations with the world! Pictode supports various import and export options, including JPG, PNG, and JSON formats. ๐Ÿ“ค๐Ÿ“ฅ

  • Export your projects and share them with friends or colleagues.
  • Import others' projects to gain inspiration and make edits.

โœจ Enhanced by Plugins

Pictode offers various plugins to cater to diverse needs.

Edit pictode

๐Ÿ•’ History Plugin

  1. Install the @pictode/plugin-history dependency.
npm install @pictode/plugin-selector
  1. Instantiate the historyPlugin plugin.
import { HistoryPlugin } from '@pictode/plugin-history';

const historyPlugin = new HistoryPlugin();
  1. Use the app.use(historyPlugin) method to load the plugin.
app.use(historyPlugin);
  1. You can now implement undo and redo functionality with the app.undo() and app.redo() methods.

โœ… Selector Plugin

  1. Install the @pictode/plugin-selector dependency.
npm install @pictode/plugin-selector
  1. Instantiate the selectorPlugin plugin.
import { SelectorPlugin } from '@pictode/plugin-selector';

const selectorPlugin = new SelectorPlugin();
  1. Use the app.use(selectorPlugin) method to load the plugin.
app.use(selectorPlugin);
  1. Implement selecting and deselecting shapes using mouse clicks or the app.select(...) and app.cancelSelect(...) methods. Hold down the Shift key to enable multi-selection and deselection.

๐Ÿ”„ Alignment Tools

  1. Install the @pictode/plugin-alignment dependency.
npm install @pictode/plugin-selector
  1. Instantiate the alignmentPlugin plugin.
import { AlignmentPlugin } from '@pictode/plugin-alignment';

const alignmentPlugin = new AlignmentPlugin();
  1. Use the app.use(alignmentPlugin) method to load the plugin.
app.use(alignmentPlugin);
  1. You can now perform alignment operations using a range of methods, including app.alignTop, app.alignRight, app.alignBottom, app.alignLeft, app.alignCenterX, app.alignCenterY, and more.

  2. Additionally, use app.distributeX and app.distributeY methods to achieve horizontal and vertical distribution.

๐ŸŒŸ Why Choose Pictode?

  • Powerful drawing tools to meet all creative needs.
  • A flexible plugin system for expanding functionality as needed.
  • User-friendly undo and redo functionality to fearlessly correct mistakes.
  • Rich import and export options for easy sharing and collaboration.

Start using Pictode to unleash your creativity! ๐Ÿš€

๐Ÿš€ Getting Started

You can launch Pictode and start creating in just a few simple steps:

  1. Clone this repository to your local machine.
  2. Install the required dependencies: pnpm bootstrap.
  3. Run the project: pnpm pictode.
  4. Open your browser and visit http://localhost:8800.

Now you can dive into Pictode, let your creativity flow, and create unique masterpieces! ๐Ÿš€

๐Ÿ™Œ Contribute

Pictode is an open-source project, and we welcome contributions in all forms. If you have suggestions, questions, or want to contribute code, don't hesitate to join our community!

Thanks to the following developers for their contributions to this project:

๐Ÿ“ License

Pictode is released under the MIT License. Check out the LICENSE for more information.

Thank you for choosing Pictode, and we hope it becomes your ultimate tool for creative expression! ๐ŸŽ‰

Visit Online

If you have any questions, feel free to contact us at๏ผš[email protected] ๐Ÿ“ง


๐ŸŒŸ Let Pictode be your canvas for creative expression, where art can freely flourish! ๐ŸŒŸ

pictode's People

Contributors

jessyan0913 avatar knightgao avatar web-dahuyou 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.