0% Perfect Circle Solver

Draws a 0.0% perfect circle on neal.fun

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==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);
        });
    });
})();