Returning the canvas
// Penguin Genie
// Creating the canvas element
// Getting the 2d context
// Drawing the penguin genie
ctx.fillStyle = 'lightblue'; // Setting the fill color to light blue
ctx.fillRect(0, 0, 512, 512); // Filling the canvas with the color
// Drawing the penguin body
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.beginPath();
ctx.arc(256, 350, 150, 0, Math.PI * 2); // Drawing the body as a circle
ctx.fill();
// Drawing the penguin head
ctx.beginPath();
ctx.arc(256, 200, 100, 0, Math.PI * 2); // Drawing the head as a circle
ctx.fill();
// Drawing the penguin eyes
ctx.fillStyle = 'white'; // Setting the fill color to white
ctx.beginPath();
ctx.arc(226, 180, 20, 0, Math.PI * 2); // Drawing the left eye
ctx.fill();
ctx.beginPath();
ctx.arc(286, 180, 20, 0, Math.PI * 2); // Drawing the right eye
ctx.fill();
// Drawing the penguin beak
ctx.fillStyle = 'orange'; // Setting the fill color to orange
ctx.beginPath();
ctx.moveTo(256, 200); // Starting point of the beak
ctx.lineTo(236, 220); // Drawing the left side of the beak
ctx.lineTo(276, 220); // Drawing the right side of the beak
ctx.fill();
// Drawing the penguin hat
ctx.fillStyle = 'purple'; // Setting the fill color to purple
ctx.beginPath();
ctx.moveTo(206, 100); // Starting point of the hat
ctx.lineTo(306, 100); // Drawing the top of the hat
ctx.lineTo(256, 180); // Drawing the triangle shape of the hat
ctx.fill();
// Drawing the penguin arms
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.fillRect(156, 350, 50, 100); // Drawing the left arm
ctx.fillRect(306, 350, 50, 100); // Drawing the right arm
// Drawing the penguin legs
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.fillRect(206, 500, 50, 100); // Drawing the left leg
ctx.fillRect(306, 500, 50, 100); // Drawing the right leg
// Drawing the penguin feet
ctx.fillStyle = 'yellow'; // Setting the fill color to yellow
ctx.fillRect(206, 600, 50, 20); // Drawing the left foot
ctx.fillRect(306, 600, 50, 20); // Drawing the right foot
// Drawing the penguin tail
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.beginPath();
ctx.moveTo(106, 350); // Starting point of the tail
ctx.lineTo(56, 450); // Drawing the left side of the tail
ctx.lineTo(106, 450); // Drawing the right side of the tail
ctx.fill();
// Drawing the penguin magic lamp
ctx.fillStyle = 'gold'; // Setting the fill color to gold
ctx.beginPath();
ctx.moveTo(356, 300); // Starting point of the lamp
ctx.lineTo(456, 300); // Drawing the top of the lamp
ctx.lineTo(456, 400); // Drawing the right side of the lamp
ctx.lineTo(356, 400); // Drawing the bottom of the lamp
ctx.lineTo(356, 350); // Drawing the left side of the lamp
ctx.lineTo(306, 350); // Drawing the handle of the lamp
ctx.fill();
// Drawing the penguin lamp handle
ctx.fillStyle = 'brown'; // Setting the fill color to brown
ctx.beginPath();
ctx.moveTo(306, 350); // Starting point of the handle
ctx.lineTo(276, 350); // Drawing the left side of the handle
ctx.lineTo(276, 370); // Drawing the bottom of the handle
ctx.lineTo(306, 370); // Drawing the right side of the handle
ctx.fill();
// Drawing the penguin lamp flame
ctx.fillStyle = 'orange'; // Setting the fill color to orange
ctx.beginPath();
ctx.moveTo(356, 300); // Starting point of the flame
ctx.lineTo(406, 250); // Drawing the left side of the flame
ctx.lineTo(436, 300); // Drawing the top of the flame
ctx.lineTo(406, 350); // Drawing the right side of the flame
ctx.fill();
// Drawing the penguin genie tail
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.beginPath();
ctx.moveTo(256, 450); // Starting point of the genie tail
ctx.lineTo(206, 550); // Drawing the left side of the genie tail
ctx.lineTo(256, 550); // Drawing the right side of the genie tail
ctx.fill();
// Drawing the penguin genie hat
ctx.fillStyle = 'purple'; // Setting the fill color to purple
ctx.beginPath();
ctx.moveTo(206, 300); // Starting point of the genie hat
ctx.lineTo(306, 300); // Drawing the top of the genie hat
ctx.lineTo(256, 400); // Drawing the triangle shape of the genie hat
ctx.fill();
// Drawing the penguin genie eyes
ctx.fillStyle = 'white'; // Setting the fill color to white
ctx.beginPath();
ctx.arc(226, 280, 20, 0, Math.PI * 2); // Drawing the left eye
ctx.fill();
ctx.beginPath();
ctx.arc(286, 280, 20, 0, Math.PI * 2); // Drawing the right eye
ctx.fill();
// Drawing the penguin genie beard
ctx.fillStyle = 'white'; // Setting the fill color to white
ctx.beginPath();
ctx.moveTo(256, 320); // Starting point of the beard
ctx.lineTo(236, 380); // Drawing the left side of the beard
ctx.lineTo(256, 380); // Drawing the middle of the beard
ctx.lineTo(276, 380); // Drawing the right side of the beard
ctx.fill();
// Drawing the penguin genie mouth
ctx.strokeStyle = 'red'; // Setting the stroke color to red
ctx.lineWidth = 4; // Setting the stroke width to 4
ctx.beginPath();
ctx.arc(256, 300, 30, 0, Math.PI); // Drawing the mouth as a semi-circle
ctx.stroke();
// Drawing the penguin genie arms
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.fillRect(156, 450, 50, 100); // Drawing the left arm
ctx.fillRect(306, 450, 50, 100); // Drawing the right arm
// Drawing the penguin genie legs
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.fillRect(206, 600, 50, 100); // Drawing the left leg
ctx.fillRect(306, 600, 50, 100); // Drawing the right leg
// Drawing the penguin genie feet
ctx.fillStyle = 'yellow'; // Setting the fill color to yellow
ctx.fillRect(206, 700, 50, 20); // Drawing the left foot
ctx.fillRect(306, 700, 50, 20); // Drawing the right foot
// Drawing the penguin genie lamp
ctx.fillStyle = 'gold'; // Setting the fill color to gold
ctx.beginPath();
ctx.moveTo(356, 550); // Starting point of the lamp
ctx.lineTo(456, 550); // Drawing the top of the lamp
ctx.lineTo(456, 650); // Drawing the right side of the lamp
ctx.lineTo(356, 650); // Drawing the bottom of the lamp
ctx.lineTo(356, 600); // Drawing the left side of the lamp
ctx.lineTo(306, 600); // Drawing the handle of the lamp
ctx.fill();
// Drawing the penguin genie lamp handle
ctx.fillStyle = 'brown'; // Setting the fill color to brown
ctx.beginPath();
ctx.moveTo(306, 600); // Starting point of the handle
ctx.lineTo(276, 600); // Drawing the left side of the handle
ctx.lineTo(276, 620); // Drawing the bottom of the handle
ctx.lineTo(306, 620); // Drawing the right side of the handle
ctx.fill();
// Drawing the penguin genie lamp flame
ctx.fillStyle = 'orange'; // Setting the fill color to orange
ctx.beginPath();
ctx.moveTo(356, 550); // Starting point of the flame
ctx.lineTo(406, 500); // Drawing the left side of the flame
ctx.lineTo(436, 550); // Drawing the top of the flame
ctx.lineTo(406, 600); // Drawing the right side of the flame
ctx.fill();
// Drawing the penguin genie title
ctx.font = 'bold 24px Arial'; // Setting the font
ctx.fillStyle = 'black'; // Setting the fill color to black
ctx.textAlign = 'center'; // Setting the text alignment to center
ctx.fillText('Penguin Genie', 256, 30); // Drawing the title
// Drawing the penguin genie funny comment
// Returning the canvas
These are recent AI images made by the community!
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.
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.
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!
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.
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.
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 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.
No.