Drawaria Fast Color Flow+

Adds advanced controls for Drawaria, including Fast Color Flow, avatar boundary control, brushcursor restrictions, auto-drawing, and more.

Tác giả
YouTubeDrawaria
Cài đặt hàng ngày
2
Số lần cài đặt
31
Đánh giá
0 0 0
Phiên bản
1.0
Đã tạo
26-12-2024
Đã cập nhật
26-12-2024
Size
6 KB
Giấy phép
MIT
Áp dụng cho

This script is a Tampermonkey userscript designed to enhance the functionality of the Drawaria online drawing tool. Here's a brief explanation of what each part of the script does:

1. **Adjust Color Flow**: The script sets the maximum value of the "color flow" input to 200, allowing for faster color application.

2. **Undo/Redo Functionality**:
- **Buttons**: Adds "Undo" and "Redo" buttons to the menu.
- **Event Listeners**: Implements functionality to save the canvas state on mouse up events and allows undoing and redoing actions.

3. **Export Canvas**:
- **Button**: Adds an "Export Canvas" button.
- **Functionality**: Allows users to download the current canvas as a PNG image.

4. **Auto-draw from Image**:
- **File Input and Button**: Adds an input to upload an image and a button to start auto-drawing.
- **Functionality**: Loads the uploaded image and draws it onto the canvas.

5. **Customization Options**:
- **Brush Size Selector**: Adds a dropdown to select brush size.
- **Opacity Range**: Adds a range input to adjust the brush opacity.

6. **Styling**:
- **CSS**: Adds custom styles to improve the appearance of the menu and buttons, including animations and hover effects.

Overall, this script enhances the Drawaria tool by providing additional controls for color flow, undo/redo functionality, canvas export, auto-drawing from images, and customization options for brush size and opacity.