0% Perfect Circle Solver

Draws a 0.0% perfect circle on neal.fun

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);
        });
    });
})();