Goku from Dragon Ball

Goku from Dragon Ball - DrawGPT

Ha! Who needs the Dragon Balls when you've got me to draw Goku for you?

Javascript Code

                        // Goku from Dragon Ball

// Setting the canvas size

// Background
ctx.fillStyle = "#FFDB4D"; // Goku's signature orange color
ctx.fillRect(0, 0, 512, 512);

// Hair
ctx.beginPath();
ctx.moveTo(256, 60); // Starting point for Goku's hair
ctx.lineTo(206, 60); // Left side of hair
ctx.lineTo(206, 110); // Top left corner
ctx.lineTo(176, 110); // Top left corner extension
ctx.lineTo(176, 155); // Top left corner extension
ctx.lineTo(136, 155); // Top left corner extension
ctx.lineTo(136, 180); // Top left corner extension
ctx.lineTo(116, 180); // Top left corner extension
ctx.lineTo(116, 210); // Top left corner extension
ctx.lineTo(136, 210); // Top left corner extension
ctx.lineTo(136, 230); // Top left corner extension
ctx.lineTo(146, 230); // Top left corner extension
ctx.lineTo(146, 240); // Top left corner extension
ctx.lineTo(167, 240); // Top left corner extension
ctx.lineTo(167, 255); // Top left corner extension
ctx.lineTo(196, 255); // Top left corner extension
ctx.lineTo(196, 285); // Top left corner extension
ctx.lineTo(216, 285); // Top left corner extension
ctx.lineTo(216, 300); // Top left corner extension
ctx.lineTo(236, 300); // Top left corner extension
ctx.lineTo(236, 310); // Top left corner extension
ctx.lineTo(246, 310); // Top left corner extension
ctx.lineTo(246, 320); // Top left corner extension
ctx.lineTo(256, 320); // Top middle point
ctx.lineTo(266, 310); // Top right corner extension
ctx.lineTo(266, 310); // Top right corner extension
ctx.lineTo(276, 310); // Top right corner extension
ctx.lineTo(276, 300); // Top right corner extension
ctx.lineTo(296, 300); // Top right corner extension
ctx.lineTo(296, 285); // Top right corner extension
ctx.lineTo(325, 285); // Top right corner extension
ctx.lineTo(325, 255); // Top right corner extension
ctx.lineTo(354, 255); // Top right corner extension
ctx.lineTo(354, 240); // Top right corner extension
ctx.lineTo(364, 240); // Top right corner extension
ctx.lineTo(364, 230); // Top right corner extension
ctx.lineTo(374, 230); // Top right corner extension
ctx.lineTo(374, 210); // Top right corner extension
ctx.lineTo(394, 210); // Top right corner extension
ctx.lineTo(394, 180); // Top right corner extension
ctx.lineTo(374, 180); // Top right corner extension
ctx.lineTo(374, 155); // Top right corner extension
ctx.lineTo(334, 155); // Top right corner extension
ctx.lineTo(334, 110); // Top right corner extension
ctx.lineTo(304, 110); // Top right corner
ctx.lineTo(304, 60); // Right side of hair
ctx.lineTo(256, 60); // Back to starting point
ctx.fillStyle = "#000000"; // Goku's black hair
ctx.fill();

// Face
ctx.beginPath();
ctx.arc(256, 256, 140, 0, Math.PI * 2); // Goku's face
ctx.fillStyle = "#FFDB4D"; // Goku's skin color
ctx.fill();

// Eyes
ctx.beginPath();
ctx.arc(226, 226, 25, 0, Math.PI * 2); // Goku's left eye
ctx.arc(286, 226, 25, 0, Math.PI * 2); // Goku's right eye
ctx.fillStyle = "#FFFFFF"; // Goku's white eyes
ctx.fill();

// Eyebrows
ctx.beginPath();
ctx.moveTo(206, 206); // Starting point for Goku's left eyebrow
ctx.lineTo(246, 226); // Bottom left point of left eyebrow
ctx.lineTo(226, 226); // Top left point of left eyebrow
ctx.lineTo(206, 206); // Top left corner
ctx.moveTo(296, 226); // Starting point for Goku's right eyebrow
ctx.lineTo(336, 206); // Bottom right point of right eyebrow
ctx.lineTo(316, 226); // Top right point of right eyebrow
ctx.lineTo(296, 226); // Top right corner
ctx.fillStyle = "#000000"; // Goku's black eyebrows
ctx.fill();

// Mouth
ctx.beginPath();
ctx.arc(256, 296, 40, 0, Math.PI); // Goku's mouth
ctx.fillStyle = "#000000"; // Goku's black mouth
ctx.fill();

// Nose
ctx.beginPath();
ctx.moveTo(256, 281); // Starting point for Goku's nose
ctx.lineTo(261, 296); // Bottom right point of nose
ctx.lineTo(256, 296); // Top point of nose
ctx.lineTo(251, 296); // Bottom left point of nose
ctx.lineTo(256, 281); // Top left corner
ctx.fillStyle = "#000000"; // Goku's black nose
ctx.fill();

// Gi
ctx.beginPath();
ctx.rect(156, 376, 200, 100); // Goku's gi
ctx.fillStyle = "#FFFFFF"; // Goku's white gi
ctx.fill();

// Belt
ctx.beginPath();
ctx.rect(156, 426, 200, 50); // Goku's belt
ctx.fillStyle = "#FF0000"; // Goku's red belt
ctx.fill();

// Arms
ctx.beginPath();
ctx.moveTo(156, 376); // Starting point for Goku's left arm
ctx.lineTo(56, 426); // Bottom left point of left arm
ctx.lineTo(56, 476); // Bottom left point of left arm
ctx.lineTo(116, 456); // Arm curve
ctx.lineTo(156, 416); // Top left point of left arm
ctx.moveTo(356, 376); // Starting point for Goku's right arm
ctx.lineTo(456, 426); // Bottom right point of right arm
ctx.lineTo(456, 476); // Bottom right point of right arm
ctx.lineTo(396, 456); // Arm curve
ctx.lineTo(356, 416); // Top right point of right arm
ctx.fillStyle = "#FFFFFF"; // Goku's white arms
ctx.fill();

// Legs
ctx.beginPath();
ctx.moveTo(206, 476); // Starting point for Goku's left leg
ctx.lineTo(206, 512); // Bottom left point of left leg
ctx.lineTo(181, 512); // Bottom left point of left leg
ctx.lineTo(181, 486); // Bottom left corner
ctx.lineTo(206, 476); // Top left corner
ctx.moveTo(306, 476); // Starting point for Goku's right leg
ctx.lineTo(306, 512); // Bottom right point of right leg
ctx.lineTo(331, 512); // Bottom right point of right leg
ctx.lineTo(331, 486); // Bottom right corner
ctx.lineTo(306, 476); // Top right corner
ctx.fillStyle = "#000000"; // Goku's black pants
ctx.fill();

// Shoes
ctx.beginPath();
ctx.rect(156, 512, 100, 50); // Goku's left shoe
ctx.rect(306, 512, 100, 50); // Goku's right shoe
ctx.fillStyle = "#000000"; // Goku's black shoes
ctx.fill();

// Signature
ctx.font = "20px Arial";
ctx.fillStyle = "#000000";
ctx.textAlign = "center";
ctx.fillText("Drawn by Goku AI", 256, 500);

// Ha! Who needs the Dragon Balls when you've got me to draw Goku for you?

Info

Created On: July 11, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-16k-0613
Time: 27 seconds
Prompt Tokens: 180
Completion Tokens: 1697
Total Token Cost: 1877

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.