Sends rapid drawing messages
Fra
### **Rapid Drawing Test UserScript**
#### **Description:**
This UserScript is designed to test **Drawaria Online** drawing application by sending drawing commands. It simulates random drawing commands.
#### **Key Features:**
1. **WebSocket Interception:**
- Intercepts all WebSocket connections on the page.
- Tracks and stores all WebSocket instances for later use.
2. **Ultra-Rapid Drawing Commands:**
- Each line has random start and end coordinates, thickness, and color.
3. **Multiple WebSocket Connections:**
- Ensures that the server is tested under heavy concurrent usage.
4. **User-Friendly Button:**
- Adds a **"Start Rapid Drawing"** button to the page for easy activation.
- The button is prominently displayed at the top-right corner of the screen.
5. **Logging and Feedback:**
- Logs all intercepted WebSocket connections and sent drawing commands to the console.
- Provides real-time feedback on the script's progress and status.
#### **How to Use:**
1. **Install the Script:**
- Use a browser extension like **Tampermonkey** or **Greasemonkey** to install this script.
- Ensure the script is enabled for the **Drawaria Online** website (`https://drawaria.online/*`).
2. **Navigate to Drawaria Online:**
- Open the Drawaria Online website in your browser.
3. **Start the Test:**
- Click the **"Start Ultra-Rapid Drawing"** button that appears on the page.
- The script will create additional WebSocket connections and begin sending thousands of drawing commands.
4. **Monitor the Results:**
- Observe the server's response and performance under the intense load.
- Check the browser console for detailed logs of the script's activity.