0% Perfect Circle Solver

Draws a 0.0% perfect circle on neal.fun

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         0% Perfect Circle Solver
// @namespace    http://tampermonkey.net
// @version      1.0
// @description  Draws a 0.0% perfect circle on neal.fun
// @author       AI
// @match        https://neal.fun
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Wait for the game to be loaded
    window.addEventListener('load', () => {
        // Create a button to trigger the cheat
        const button = document.createElement('button');
        button.innerText = 'Draw 0.0% Circle';
        button.style.position = 'absolute';
        button.style.top = '10px';
        button.style.left = '10px';
        button.style.zIndex = '9999';
        button.style.padding = '10px';
        document.body.appendChild(button);

        button.addEventListener('click', () => {
            const canvas = document.querySelector('canvas');
            if (!canvas) return;

            const rect = canvas.getBoundingClientRect();
            const center = { x: rect.width / 2, y: rect.height / 2 };
            const centerX = rect.left + center.x;
            const centerY = rect.top + center.y;

            // Simulate mouse drawing a chaotic path
            function dispatchMouseEvent(type, x, y) {
                const event = new MouseEvent(type, {
                    bubbles: true,
                    cancelable: true,
                    clientX: x,
                    clientY: y
                });
                canvas.dispatchEvent(event);
            }

            // Start drawing
            dispatchMouseEvent('mousedown', centerX, centerY);

            let angle = 0;
            const steps = 100;
            const radius = 100;

            // Create chaotic, non-circular movements
            const interval = setInterval(() => {
                angle += 0.5;
                // Use a non-circular pattern (fast spiral/scribble)
                const x = centerX + Math.cos(angle) * (radius + Math.sin(angle * 10) * 50);
                const y = centerY + Math.sin(angle) * (radius + Math.cos(angle * 10) * 50);

                dispatchMouseEvent('mousemove', x, y);

                if (angle > 15) {
                    clearInterval(interval);
                    dispatchMouseEvent('mouseup', x, y);
                }
            }, 10);
        });
    });
})();