Marble Zone

Marble Zone - DrawGPT

That was hot! 🔥

Javascript Code

                        // Title: Marble Zone
// Let's draw Sonic's iconic Marble Zone!

ctx.fillStyle = "#F2E6C9"; // Set fill color to beige
ctx.fillRect(0, 0, 512, 512); // Draw background

// Draw the marble blocks
ctx.fillStyle = "#B8B8B8"; // Set fill color to gray
ctx.fillRect(80, 120, 40, 40);
ctx.fillRect(120, 80, 40, 40);
ctx.fillRect(160, 120, 40, 40);
ctx.fillRect(200, 80, 40, 40);
ctx.fillRect(240, 120, 40, 40);
ctx.fillRect(280, 80, 40, 40);
ctx.fillRect(320, 120, 40, 40);
ctx.fillRect(360, 80, 40, 40);
ctx.fillRect(400, 120, 40, 40);

// Draw Sonic
ctx.beginPath(); // Start a new path
ctx.fillStyle = "#0072C6"; // Set fill color to blue
ctx.arc(256, 256, 60, 0, Math.PI * 2, true); // Draw a circle for Sonic's head
ctx.fill(); // Fill the circle

ctx.beginPath(); // Start a new path
ctx.fillStyle = "#FFFFFF"; // Set fill color to white
ctx.arc(230, 240, 10, 0, Math.PI * 2, true); // Draw a circle for Sonic's left eye
ctx.fill(); // Fill the circle

ctx.beginPath(); // Start a new path
ctx.arc(282, 240, 10, 0, Math.PI * 2, true); // Draw a circle for Sonic's right eye
ctx.fill(); // Fill the circle

ctx.beginPath(); // Start a new path
ctx.fillStyle = "#000000"; // Set fill color to black
ctx.arc(230, 240, 6, 0, Math.PI * 2, true); // Draw a smaller circle for Sonic's left pupil
ctx.fill(); // Fill the circle

ctx.beginPath(); // Start a new path
ctx.arc(282, 240, 6, 0, Math.PI * 2, true); // Draw a smaller circle for Sonic's right pupil
ctx.fill(); // Fill the circle

ctx.beginPath(); // Start a new path
ctx.strokeStyle = "#FFFFFF"; // Set stroke color to white
ctx.lineWidth = 3; // Set line width to 3
ctx.moveTo(256, 270); // Move to the center of Sonic's face
ctx.lineTo(256, 300); // Draw a line for Sonic's mouth
ctx.stroke(); // Stroke the line

// Draw the fireballs
ctx.beginPath(); // Start a new path
ctx.fillStyle = "#FF0000"; // Set fill color to red
ctx.arc(80, 320, 30, 0, Math.PI * 2, true); // Draw a circle for the first fireball
ctx.fill(); // Fill the circle

ctx.beginPath(); // Start a new path
ctx.arc(320, 320, 30, 0, Math.PI * 2, true); // Draw a circle for the second fireball
ctx.fill(); // Fill the circle

// Draw the flames
ctx.beginPath(); // Start a new path
ctx.fillStyle = "#FFA500"; // Set fill color to orange
ctx.moveTo(80, 320); // Move to the center of the first fireball
ctx.lineTo(65, 360); // Draw a line for the first flame
ctx.lineTo(80, 390);
ctx.lineTo(95, 360);
ctx.fill(); // Fill the shape

ctx.beginPath(); // Start a new path
ctx.moveTo(320, 320); // Move to the center of the second fireball
ctx.lineTo(305, 360); // Draw a line for the second flame
ctx.lineTo(320, 390);
ctx.lineTo(335, 360);
ctx.fill(); // Fill the shape

// That was hot! 🔥

Info

Created On: May 7, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-0301
Time: 59 seconds
Prompt Tokens: 184
Completion Tokens: 858
Total Token Cost: 1042

NEW AI IMAGES


These are recent AI images made by the community!

FAQ

What is DrawGPT?

DrawGPT is a an AI art generator that uses the GPT-3, GPT-4, DALL-E 3, Custom GPTs, ChatGPT, and other large language models by OpenAI to generate new images from text prompts.

The AI is able to express itself visually through words by writing code to draw and create unique images. This is the same AI powering the very popular ChatGPT large language model AI.

Why Is This Different?

This does not require access to premium AI model subscriptions, it is able to be used by anyone with an internet connection and tokens. This allows everyone to get access to the very best AI art generation technology.

Artificial intelligence may create strange or unusual images. It is being used to generated images for advertising, entertainment, gaming, marketing, and fun right now!

Because Draw GPT has access to do many models we assume the model providers have followed best practices when attributing or utilizing data and images in the training data.

Yes! You can use the images for commercial purposes! And so can Draw GPT.

What Can DrawGPT Draw?

DrawGPT can draw anything you can think of and more! Just type your text prompt in to the textbox exactly like ChatGPT and see what the AI gives you! Seriously, you can get GPT to draw just about anything for you that you can type in the box.

DrawGPT creates images in PNG, SVG, and Javascript format for download and use. This is different than other AI art projects that only create images in PNG format; being able to get a scene graph via Javascript draw commands is a unique feature of this project and getting any AI art in SVG vector format is unique to DrawGPT.

Many people use this to generate quick art for simple projects, video game assets, new business logos, and more. It is also used to generate images for advertising, entertainment, gaming, marketing, creating art for ads and blog posts with AI and fun.

Want to learn more about DrawGPT, the types of possible image renders, and how to use DrawGPT in your next project as a developer?
Check out our AI image generation API!

Why Are They Weird?

DrawGPT is runs on an AI that has never actually "seen" an image as embodied AI in its life!

GPT-3, GPT-4, ChatGPT, and DALL-E 3 only allow input from words. Even GPT-4V which uses image recogintion via AI converts the output to words for use with other AI models. That makes their understanding of the visual world extremely unusual. This AI is able to draw images just like ChatGPT can draw images.

This method of drawing images using raw code is not a great way to draw complex images with lots of structure. It may be able to make photograph quality artwork and professional illustrations with AI but it can fail when using certain types of typography.

Is This ChatGPT?

Yes and no. Same same but different.

ChatGPT runs on the same model that this project uses, so this is like using ChatGPT to generate images, but it is a different instance of the model. This means that the AI is not precisly the same but it is the same quality AI, image generation AI, large language model, and overall AI art that ChatGPT is using and that Chat GPT can draw.

What is the difference? ChatGPT is specifically wired up to be conversational and track a conversation thread across multiple user prompts. Images in ChatGPT using DALL-E 3 are not saved to the Intenet and made available publicly.

In comparison DrawGPT does not remember things from prompt to prompt, each image is a unique image that does not reference any of the images or prompts previously supplied.

Copyright

You can do what you want it's your party.

We humbly ask that you backlink to DrawGPT if you do use our images in any promotion or commercial ways, but it is not required.

At the moment all images & Javascript code generated by this tool under the CC0 License with outrageous added term that the license can be revoked or retroactively changed at any time without warning for any image.

Yes! You can use the images for commercial purposes! And so can DrawGPT.

Images & Prompts Private

Images are made public during submission.

Depending on the situation the prompts themselves are stored internally for research purposes but given that people are morons and put things in there like personal information it is unlikely DrawGPT would ever be able to release the raw prompts publicly.

Employees at OpenAI and DrawGPT have access to any prompts you submit.

DO NOT SUBMIT PERSONAL INFORMATION.

Is This AI Sentient? Will It End Us?

No.