// Title: The Wise Old Man with a Twinkle in His Eye
// Create the canvas and context
// Draw the background
ctx.fillStyle = '#f0e6d2'; // a calm, light background color
ctx.fillRect(0, 0, 512, 512);
// Draw the old man's head
ctx.beginPath();
ctx.arc(256, 256, 100, 0, 2 * Math.PI); // nice round head
ctx.fillStyle = '#eed9c4'; // a warm skin tone
ctx.fill();
ctx.stroke();
// Draw his white hair
ctx.beginPath();
ctx.arc(256, 156, 100, Math.PI, 2 * Math.PI); // fluffy white hair on top
ctx.lineTo(156, 156); // connect it back to the start
ctx.fillStyle = '#ffffff';
ctx.fill();
// Add some wrinkles
ctx.strokeStyle = '#ccc'; // subtle color for age lines
ctx.beginPath();
ctx.moveTo(220, 240);
ctx.quadraticCurveTo(210, 250, 220, 260); // wrinkle 1
ctx.stroke();
ctx.beginPath();
ctx.moveTo(292, 240);
ctx.quadraticCurveTo(302, 250, 292, 260); // wrinkle 2
ctx.stroke();
// Draw his eyes
ctx.fillStyle = '#ffffff'; // for the whites of his eyes
ctx.beginPath();
ctx.ellipse(230, 240, 20, 15, 0, 0, 2 * Math.PI); // left eye
ctx.fill();
ctx.beginPath();
ctx.ellipse(282, 240, 20, 15, 0, 0, 2 * Math.PI); // right eye
ctx.fill();
// Draw the pupils (with a twinkle!)
ctx.fillStyle = '#000000';
ctx.beginPath();
ctx.arc(230, 240, 5, 0, 2 * Math.PI); // left pupil
ctx.fill();
ctx.beginPath();
ctx.arc(282, 240, 5, 0, 2 * Math.PI); // right pupil
ctx.fill();
// Add a small white dot for the twinkle
ctx.beginPath();
ctx.arc(228, 238, 2, 0, 2 * Math.PI);
ctx.fillStyle = '#ffffff';
ctx.fill();
ctx.beginPath();
ctx.arc(280, 238, 2, 0, 2 * Math.PI);
ctx.fill();
// Draw his nose
ctx.beginPath();
ctx.moveTo(256, 240);
ctx.lineTo(246, 270);
ctx.lineTo(266, 270);
ctx.fillStyle = '#eed9c4';
ctx.fill();
// Draw his mouth
ctx.beginPath();
ctx.moveTo(236, 290);
ctx.quadraticCurveTo(256, 310, 276, 290); // a subtle smile
ctx.quadraticCurveTo(256, 300, 236, 290); // completes the mouth shape
ctx.fillStyle = '#eec1ad';
ctx.fill();
// Draw his bushy eyebrows
ctx.fillStyle = '#ffffff'; // matching his white hair
ctx.beginPath();
ctx.moveTo(210, 220);
ctx.quadraticCurveTo(230, 205, 250, 220);
ctx.quadraticCurveTo(230, 210, 210, 220);
ctx.fill();
ctx.beginPath();
ctx.moveTo(262, 220);
ctx.quadraticCurveTo(282, 205, 302, 220);
ctx.quadraticCurveTo(282, 210, 262, 220);
ctx.fill();
// Draw his ears
ctx.beginPath();
ctx.ellipse(160, 256, 15, 30, Math.PI / 2, 0, 2 * Math.PI); // left ear
ctx.fillStyle = '#eed9c4';
ctx.fill();
ctx.beginPath();
ctx.ellipse(352, 256, 15, 30, Math.PI / 2, 0, 2 * Math.PI); // right ear
ctx.fill();
// Draw his clothes
ctx.fillStyle = '#3a5fcd'; // nice blue shirt
ctx.fillRect(206, 356, 100, 50); // shirt's body
ctx.fillRect(190, 356, 20, 40); // left arm
ctx.fillRect(306, 356, 20, 40); // right arm
// Draw his cane
ctx.strokeStyle = '#8b4513'; // wooden color for his cane
ctx.lineWidth = 5;
ctx.beginPath();
ctx.moveTo(390, 356);
ctx.lineTo(390, 512); // cane from hand to the ground
ctx.stroke();
// Add the canvas to the DOM (usually done in HTML, but here's how you'd do it in JS)
// And voilà, an old man with a lifetime of experiences and a twinkle in his eye!
// "One does not simply age - one levels up in wisdom."
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.