/* Sunshine Morning Scene */
// Drawing the background
ctx.fillStyle = "#87CEEB"; // Blue sky
ctx.fillRect(0, 0, 512, 512);
// Drawing the sun
ctx.beginPath();
ctx.arc(256, 100, 80, 0, Math.PI * 2, true);
ctx.fillStyle = "#FFD700"; // Golden yellow sun
ctx.fill();
// Drawing the road
ctx.fillStyle = "#696969"; // Gray road
ctx.fillRect(0, 400, 512, 112);
// Drawing the road lines
ctx.strokeStyle = "#FFFFFF"; // White lines
ctx.lineWidth = 10;
ctx.setLineDash([40, 20]); // Dashed line pattern
ctx.beginPath();
ctx.moveTo(0, 456);
ctx.lineTo(512, 456);
ctx.stroke();
// Drawing the two boys
ctx.fillStyle = "#FF69B4"; // Pink boys
ctx.fillRect(100, 330, 40, 80);
ctx.fillRect(300, 330, 40, 80);
// Drawing the boys' heads
ctx.beginPath();
ctx.arc(120, 320, 20, 0, Math.PI * 2, true);
ctx.arc(340, 320, 20, 0, Math.PI * 2, true);
ctx.fillStyle = "#FF69B4"; // Pink heads
ctx.fill();
// Drawing the boys' smiling faces
ctx.beginPath();
ctx.arc(120, 330, 10, 0, Math.PI, false); // Smiling arcs
ctx.arc(340, 330, 10, 0, Math.PI, false);
ctx.strokeStyle = "#000000"; // Black smiling lines
ctx.lineWidth = 2;
ctx.stroke();
// Adding laughter lines
ctx.beginPath();
ctx.moveTo(110, 350); // Laughter line 1
ctx.lineTo(130, 350);
ctx.moveTo(330, 350); // Laughter line 2
ctx.lineTo(350, 350);
ctx.strokeStyle = "#000000"; // Black laughter lines
ctx.lineWidth = 2;
ctx.stroke();
// Adding text "HAHA" above the boys' heads
ctx.font = "bold 16px Arial";
ctx.fillStyle = "#000000"; // Black text
ctx.fillText("HAHA", 95, 310);
ctx.fillText("HAHA", 315, 310);
// Adding the long road going ahead
ctx.strokeStyle = "#808080"; // Gray road
ctx.lineWidth = 6;
ctx.setLineDash([]); // Solid line
ctx.beginPath();
ctx.moveTo(0, 456);
ctx.lineTo(512, 456);
ctx.stroke();
// Adding shadows to the boys
ctx.fillStyle = "rgba(0, 0, 0, 0.2)"; // Transparent black shadow
ctx.fillRect(140, 350, 40, 10);
ctx.fillRect(360, 350, 40, 10);
// Adding shadows to the road
ctx.fillStyle = "rgba(0, 0, 0, 0.3)"; // Transparent black shadow
ctx.fillRect(0, 400, 512, 8);
ctx.fillRect(0, 428, 512, 8);
ctx.fillRect(0, 456, 512, 8);
// Adding birds in the sky
ctx.beginPath();
ctx.moveTo(200, 150); // Bird 1
ctx.lineTo(220, 170);
ctx.moveTo(220, 170);
ctx.lineTo(240, 150);
ctx.moveTo(240, 150);
ctx.lineTo(260, 170);
ctx.moveTo(260, 170);
ctx.lineTo(280, 150);
ctx.moveTo(320, 130); // Bird 2
ctx.lineTo(340, 150);
ctx.moveTo(340, 150);
ctx.lineTo(360, 130);
ctx.strokeStyle = "#000000"; // Black birds
ctx.lineWidth = 2;
ctx.stroke();
// Adding a happy little cloud
ctx.beginPath();
ctx.arc(400, 100, 30, 0, Math.PI * 2, true); // Cloud body
ctx.arc(430, 110, 25, 0, Math.PI * 2, true);
ctx.arc(460, 100, 30, 0, Math.PI * 2, true);
ctx.arc(430, 90, 25, 0, Math.PI * 2, true);
ctx.fillStyle = "#FFFFFF"; // White cloud
ctx.fill();
ctx.beginPath();
ctx.arc(410, 80, 10, 0, Math.PI * 2, true); // Cloud eyes
ctx.arc(450, 80, 10, 0, Math.PI * 2, true);
ctx.fillStyle = "#000000"; // Black eyes
ctx.fill();
ctx.beginPath();
ctx.arc(430, 100, 15, 0, Math.PI, false); // Cloud smile
ctx.strokeStyle = "#000000"; // Black smile
ctx.lineWidth = 2;
ctx.stroke();
// Adding a signpost
ctx.fillStyle = "#8B4513"; // Brown signpost
ctx.fillRect(20, 370, 10, 120);
ctx.beginPath();
ctx.moveTo(20, 370); // Signpost top
ctx.lineTo(75, 370);
ctx.lineTo(75, 400);
ctx.lineTo(20, 400);
ctx.closePath();
ctx.fillStyle = "#FFD700"; // Golden yellow sign
ctx.fill();
ctx.font = "bold 16px Arial";
ctx.fillStyle = "#000000"; // Black text
ctx.fillText("To Happiness", 25, 390);
// Adding a flower
ctx.beginPath();
ctx.arc(450, 420, 10, 0, Math.PI * 2, true); // Flower center
ctx.fillStyle = "#FF69B4"; // Pink center
ctx.fill();
ctx.beginPath();
ctx.moveTo(450, 420); // Flower petals
ctx.lineTo(450, 405);
ctx.lineTo(445, 405);
ctx.lineTo(445, 420);
ctx.closePath();
ctx.moveTo(450, 420);
ctx.lineTo(465, 420);
ctx.lineTo(465, 425);
ctx.lineTo(450, 425);
ctx.closePath();
ctx.moveTo(450, 420);
ctx.lineTo(450, 435);
ctx.lineTo(455, 435);
ctx.lineTo(455, 420);
ctx.closePath();
ctx.moveTo(450, 420);
ctx.lineTo(435, 420);
ctx.lineTo(435, 415);
ctx.lineTo(450, 415);
ctx.closePath();
ctx.fillStyle = "#FFFF00"; // Yellow petals
ctx.fill();
// Adding a funny comment at the end because why not?
// "Happiness is two boys laughing on a sunny morning while taking the long road ahead. Life is good!"
// I'm glad they're not taking the short road, otherwise this drawing would be a lot smaller.
// Plus, the long road gives us more space to draw more happy things!
These are recent AI images made by the community! These may use any AI model including DALL-E 3, Flux, Stable Diffusion, GPT-4, o1, and more and may be anything from simple animated SVGs to PNGs.
DrawGPT is a an AI art generator that uses GPT-4, o1, o3, DALL-E 3, Gemini 2.0, Imagegen 3.0, Flux, Stable Diffusion, and Custom GPTs, ChatGPT, and other large language models to generate new images from text prompts.
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!
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 & prompts may be made made public.
Depending on the situation the prompts themselves are stored internally for research purposes.
Employees at OpenAI and DrawGPT have access to any prompts you submit.
DO NOT SUBMIT PERSONAL INFORMATION.