/* The Determined Programmer */
// I'm not chained, I'm just committed to coding!
ctx.fillStyle = "#FFC0CB"; // Setting the canvas background color to light pink
ctx.fillRect(0, 0, 512, 512); // Drawing a rectangle as the background
// Drawing the human figure
ctx.strokeStyle = "#000"; // Setting the stroke color to black
ctx.lineWidth = 2; // Setting the stroke width to 2 pixels
ctx.beginPath();
ctx.arc(256, 200, 50, 0, Math.PI * 2, true); // Drawing the head
ctx.closePath();
ctx.stroke();
ctx.beginPath();
ctx.moveTo(256, 250); // Drawing the body
ctx.lineTo(256, 400);
ctx.stroke();
ctx.beginPath();
ctx.moveTo(200, 400); // Drawing the left leg
ctx.lineTo(256, 480);
ctx.stroke();
ctx.beginPath();
ctx.moveTo(312, 400); // Drawing the right leg
ctx.lineTo(256, 480);
ctx.stroke();
ctx.beginPath();
ctx.moveTo(230, 250); // Drawing the left arm
ctx.lineTo(180, 320);
ctx.stroke();
ctx.beginPath();
ctx.moveTo(282, 250); // Drawing the right arm
ctx.lineTo(332, 320);
ctx.stroke();
// Drawing the shackles on hands and legs
ctx.fillStyle = "#777"; // Setting the color of the shackles to dark gray
ctx.beginPath();
ctx.arc(180, 320, 10, 0, Math.PI * 2, true); // Drawing the left shackle on arm
ctx.closePath();
ctx.fill();
ctx.beginPath();
ctx.arc(332, 320, 10, 0, Math.PI * 2, true); // Drawing the right shackle on arm
ctx.closePath();
ctx.fill();
ctx.beginPath();
ctx.arc(200, 480, 10, 0, Math.PI * 2, true); // Drawing the left shackle on leg
ctx.closePath();
ctx.fill();
ctx.beginPath();
ctx.arc(312, 480, 10, 0, Math.PI * 2, true); // Drawing the right shackle on leg
ctx.closePath();
ctx.fill();
// Drawing the laptop on the office desk
ctx.fillStyle = "#F5F5F5"; // Setting the color of the laptop to light gray
ctx.fillRect(100, 420, 312, 60); // Drawing the base of the laptop
ctx.fillStyle = "#000"; // Setting the color of the keyboard to black
ctx.fillRect(120, 440, 272, 20); // Drawing the keyboard
// Adding some keys to the keyboard for extra detail
ctx.fillStyle = "#FFF"; // Setting the color of the keys to white
ctx.fillRect(130, 440, 10, 20); // Drawing the first key
ctx.fillRect(150, 440, 10, 20); // Drawing the second key
ctx.fillRect(170, 440, 10, 20); // Drawing the third key
ctx.fillRect(190, 440, 10, 20); // Drawing the fourth key
ctx.fillRect(210, 440, 10, 20); // Drawing the fifth key
ctx.fillRect(230, 440, 10, 20); // Drawing the sixth key
ctx.fillRect(250, 440, 10, 20); // Drawing the seventh key
ctx.fillRect(270, 440, 10, 20); // Drawing the eighth key
ctx.fillRect(290, 440, 10, 20); // Drawing the ninth key
ctx.fillRect(310, 440, 10, 20); // Drawing the tenth key
// Adding a mouse next to the laptop for extra detail
ctx.fillStyle = "#000"; // Setting the color of the mouse to black
ctx.fillRect(415, 440, 20, 10); // Drawing the mouse
// Adding a happy face on the head of the human figure
ctx.fillStyle = "#FFD700"; // Setting the color of the happy face to gold
ctx.beginPath();
ctx.arc(256, 190, 20, 0, Math.PI * 2, true); // Drawing the happy face
ctx.closePath();
ctx.fill();
// Adding eyes to the happy face
ctx.fillStyle = "#000"; // Setting the color of the eyes to black
ctx.beginPath();
ctx.arc(246, 182, 3, 0, Math.PI * 2, true); // Drawing the left eye
ctx.closePath();
ctx.fill();
ctx.beginPath();
ctx.arc(266, 182, 3, 0, Math.PI * 2, true); // Drawing the right eye
ctx.closePath();
ctx.fill();
// Adding a smile to the happy face
ctx.beginPath();
ctx.arc(256, 198, 10, 0, Math.PI, false); // Drawing the smile
ctx.stroke();
// All done! Time to break free and code with joy!
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.