—— AI-Programmed Art ——

How It Works: You've probably heard of AIs that generate art, but this is a unique twist on it. I used OpenAI's chat bot ChatGPT to generate the actual programs that will draw generative art. Every artwork that follows is the result of running a program that was completely made by the AI. I did not debug or modify the actual code in any way.

Each prompt displays the first few programs the AI wrote, after inputting the same prompt multiple times.

If you click "View Code" it will show you the exact source program that the AI wrote for that specific output, including the comments it adds to explain the code.



Night Skyline
Prompt: Write a JavaScript program that randomly generates an image of a city skyline at night, and draws the result to an HTML <canvas> element.
AI Program Outputs:


Detailed Sunset Skyline
Prompt: Write a JavaScript program that randomly generates an image of a city skyline at sunset, and draws the result to an HTML <canvas> element. The skyline should be detailed and feature different styles of buildings, with features like windows and other details.
AI Program Outputs:


Landscape
Prompt: Write a program in JavaScript that randomly generates a landscape, with a ground, sky, clouds, and trees. The output should be randomized every generation, and drawn to an HTML <canvas> element.
AI Program Outputs:


Desert Island
Prompt: Write a program in JavaScript that generates an image of a desert island. The island should have detailed and realistic features, and it should be randomized so that each generation looks different. Draw the island on an HTML <canvas> element.
AI Program Outputs:


Fractal Tree
Prompt: Write a program in JavaScript that generates a fractal tree with random properties and colors, so that it will look different every generation. The tree should be drawn to an HTML <canvas> element.
AI Program Outputs:


Snowflake
Prompt: Write a program in JavaScript that generates a vibrant and intricate snowflake. The snowflake should be randomly generated so that it will always be unique, and drawn to an HTML <canvas> element.
AI Program Outputs:


Christmas Tree
Prompt: Write a program in JavaScript that generates a random Christmas tree. The Christmas tree should include things like ornaments, a star, presents, etc. Make the output realistic and randomized, so that each tree looks different. Draw the output to an HTML <canvas> element.
AI Program Outputs:


Pixel Cat
Prompt: Write a program in JavaScript that randomly generates a pixel art image of a cat. The image should be drawn to an HTML <canvas> element.
AI Program Outputs:


Stickman Family
Prompt: Write a program in JavaScript that randomly generates a family of stickmen. There should be multiple stick people (a mom, a dad, etc.) that are all randomly generated so that they look different every generation. The output should be drawn to an HTML <canvas> element.
AI Program Outputs:


Cartoon Character
Prompt: Write a program in JavaScript that randomly generates a cartoon character, and draws the character on an HTML <canvas> element.
AI Program Outputs:


Blob With Expression
Prompt: Write a JavaScript program that draws a random blob, with a face. The blob should have a random color, shape, and facial expression. The blob's face should have features like eyes, a mouth, etc. Draw the blob onto an HTML <canvas> element.
AI Program Outputs:


Constellations
Prompt: Write a program in JavaScript that generates a random constellation pattern, and draws the result to an HTML <canvas> element.
AI Program Outputs:


Mountain Range
Prompt: Write a program in JavaScript that generates a mountain range, with features like trees, snow, clouds, the sun, etc. The features should all be randomly generated, and the output drawn to an HTML <canvas> element.
AI Program Outputs:


Flower Field
Prompt: Write a program in JavaScript that generates an image of a field filled with many colorful flowers, with detailed designs. The image should be randomly generated so that each field looks different. Draw the result on an HTML <canvas> element.
AI Program Outputs:


Spider Web
Prompt: Write a program in JavaScript that designs a random and intricate spiderweb pattern, and draws the result to an HTML <canvas> element.
AI Program Outputs:


Random Bicycle
Prompt: Write a program in JavaScript that generates a random bicycle. The bike should be detailed and include features like wheels, gears, handlebars, etc. It should have randomized colors and styles to look different every generation. Draw the result to an HTML <canvas> element.
AI Program Outputs:


Solar System
Prompt: Write a JavaScript program that randomly generates an image of a solar system. The solar system should consist of random planets orbiting a star in the center, with their circular paths shown. Draw the output to an HTML <canvas> element.
AI Program Outputs:


Connecting Pipes
Prompt: Write a JavaScript program that will draw generative art consisting of colorful pipes and connectors running across the canvas. The pipes should form realistic paths, and have detailed features. Additionally, many of these parameters should be randomized, so that the output will look different every generation. Display the output by drawing it on an HTML <canvas> element.
AI Program Outputs:


Random Walker
Prompt: Write a JavaScript program that uses a random walker to draw a random, colorful path. Use specific settings to vary the style of the output every regeneration. The result should be drawn to an HTML <canvas> element.
AI Program Outputs:


Circle Packing
Prompt: Write a JavaScript program that randomly fills the screen with rainbow circles, such that the circles never overlap but touch each other. The circles should be drawn to an HTML <canvas> element.
AI Program Outputs:


[Animated] Jellyfish Ocean
Prompt: Write a JavaScript program that draws an ocean filled with glowing, colorful jellyfish. The jellyfish should be randomized so that the ocean looks different every time. Draw the output on an HTML <canvas> element.
AI Program Outputs:


[Animated] Crawling Bugs
Prompt: Write a JavaScript program that draws an animation of bugs crawling around the screen, with legs and antennae. The bugs should have randomized styles and randomized movement. Draw each frame of the animation to an HTML <canvas> element.
AI Program Outputs:


[Animated] Dancing Stickman
Prompt: Write a JavaScript program that draws an animation of a dancing stickman, with moving limbs and joints. Draw each frame of the animation to an HTML <canvas> element.
AI Program Outputs:


[Animated] Black Holes
Prompt: Write a program in JavaScript that simulates thousands of particles gravitating towards a few black holes at specific points on the screen. The particles should be added slowly over time, and leave a thin trail showing where they have been, as they are attracted towards the black holes. Draw each frame of the simulation on an HTML <canvas> element.
AI Program Outputs:


[Animated] Trailing Bouncing Balls
Prompt: Write a program in JavaScript that runs a simulation of bouncing balls. It should start off with no balls, and slowly add them over time. Each ball should bounce off the bottom of the screen, and leave a translucent trail behind it. Draw each frame of the simulation to an HTML <canvas> element.
AI Program Outputs:


[Animated] Diffusion Limited Aggregation
Prompt: Write a JavaScript program that runs a simulation of "Diffusion Limited Aggregation," and draws the result to an HTML <canvas> element.
AI Program Outputs:


[Animated] Busy Highway
Prompt: Write a JavaScript program that draws an animation of a busy highway, viewed from above. The highway should be colored like a road, and have lots of cars driving along it. Each car should be randomized so that it has a different color and style from the other cars. The cars should keep coming forever. Draw each frame of the animation to an HTML <canvas> element.
AI Program Outputs: