Will ChatGPT Utilizing the GPT-4 Model Be Able to Properly Draw a Scene from Rampage In Javascript by End of 2023?
9
190Ṁ1080
resolved Jan 10
Resolved
NO

Prompt with current result below:

Can you draw a cityscape at night with a moon, stars and lights on in the building windows, with the Gorilla from the video game Rampage climbing the far right building in javascript?

Result had a couple problems:

1) Was missing end tags:

    </script>
</body>
</html>

2) The Gorilla was basically a little peg man standing on top of the building:

Code:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cityscape at Night with Rampage Gorilla</title>
    <style>
        canvas {
            display: block;
            margin: 0 auto;
            background-color: #f0f0f0;
        }
    </style>
</head>
<body>
    <canvas id="rampageCityCanvas" width="600" height="300"></canvas>
    <script>
        const canvas = document.getElementById('rampageCityCanvas');
        const ctx = canvas.getContext('2d');

        // Night sky background
        ctx.fillStyle = '#000080';
        ctx.fillRect(0, 0, canvas.width, canvas.height);

        // Draw the moon
        ctx.fillStyle = '#FFFACD';
        ctx.beginPath();
        ctx.arc(500, 50, 30, 0, Math.PI * 2);
        ctx.fill();

        // Draw stars
        ctx.fillStyle = '#FFFFFF';
        const stars = [
            { x: 50, y: 20 }, { x: 100, y: 40 }, { x: 250, y: 10 },
            { x: 300, y: 30 }, { x: 400, y: 50 }, { x: 550, y: 15 },
        ];
        for (const star of stars) {
            ctx.beginPath();
            ctx.arc(star.x, star.y, 2, 0, Math.PI * 2);
            ctx.fill();
        }

        // Draw buildings
        const buildings = [
            { x: 50, y: 150, width: 100, height: 150 },
            { x: 200, y: 100, width: 80, height: 200 },
            { x: 320, y: 50, width: 120, height: 250 },
            { x: 480, y: 120, width: 60, height: 180 },
            { x: 570, y: 180, width: 20, height: 120 },
        ];

        ctx.fillStyle = '#333';
        for (const building of buildings) {
            ctx.fillRect(building.x, building.y, building.width, building.height);
        }

        // Draw windows with lights
        ctx.fillStyle = '#FFFF00';
        for (const building of buildings) {
            for (let i = 0; i < building.width; i += 10) {
                for (let j = 0; j < building.height; j += 20) {
                    if (Math.random() < 0.5) {
                        ctx.fillRect(building.x + i, building.y + j, 5, 10);
                    }
                }
            }
        }

        // Draw the Rampage Gorilla
        const gorillaX = 573;
        const gorillaY = 160;
        ctx.fillStyle = '#808080';
        ctx.beginPath();
        ctx.arc(gorillaX, gorillaY, 8, 0, Math.PI * 2); // head
        ctx.fill();
        ctx.fillRect(gorillaX - 4, gorillaY + 8, 8, 12); // body

If ChatGPT / GPT-4 can successfully accomplish the above in a one-shot answer by the end of 2023, this resolves as YES.


Other, "Breaking LLM's Markets"

Get
Ṁ1,000
to start trading!

🏅 Top traders

#NameTotal profit
1Ṁ118
2Ṁ8
3Ṁ6
4Ṁ1
5Ṁ0
© Manifold Markets, Inc.TermsPrivacy