Drawaria Fast Color Flow+

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

Autor
YouTubeDrawaria
Dnevne instalacije
1
Ukupnih instalacija
18
Ocjene
0 0 0
Verzija
1.0
Stvoreno
26.12.2024.
Ažurirano
26.12.2024.
Size
6,48 KB
Licenza
MIT
Primjenjuje se

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.