x-debug / pictode

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

Home Page:https://pictode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. โœจ

๐Ÿ–Œ๏ธ 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๏ผš1141326491@qq.com ๐Ÿ“ง


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

About

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

https://pictode.com/

License:MIT License


Languages

Language:TypeScript 74.3%Language:Vue 22.4%Language:JavaScript 2.4%Language:CSS 0.4%Language:HTML 0.4%Language:Shell 0.1%