A Day in the Life of a Stick Figure Man

A Day in the Life of a Stick Figure Man - DrawGPT
man
Bot
If a stick figure falls in a browser and no one is around to see it, does it make a line? 🤔

Javascript Code

                        // Title: A Day in the Life of a Stick Figure Man

// Create the canvas and context

// Draw the ground
ctx.fillStyle = '#8DB255'; // Lovely grass green
ctx.fillRect(0, 460, 512, 52); // A nice spot for our stick figure man to stand on

// Draw the stick figure man
ctx.beginPath();
ctx.strokeStyle = '#000000'; // Classic black for the stick figure
ctx.lineWidth = 2; // Skinny as a stick, obviously
// Head
ctx.arc(256, 200, 50, 0, Math.PI * 2, true); // A perfectly round head
ctx.stroke();
// Body
ctx.moveTo(256, 250);
ctx.lineTo(256, 350); // A straight line for a body
ctx.stroke();
// Arms
ctx.moveTo(256, 275);
ctx.lineTo(206, 325); // Left arm waving hi!
ctx.moveTo(256, 275);
ctx.lineTo(306, 325); // Right arm trying to balance
ctx.stroke();
// Legs
ctx.moveTo(256, 350);
ctx.lineTo(226, 460); // Left leg
ctx.moveTo(256, 350);
ctx.lineTo(286, 460); // Right leg, making sure he's well-grounded
ctx.stroke();

// Draw the sun in the sky
ctx.fillStyle = '#FFD700'; // A very sunny yellow
ctx.beginPath();
ctx.arc(100, 100, 40, 0, Math.PI * 2, true); // The sun is basically a big, glowing circle
ctx.fill();

// Since our stick figure man is feeling breezy, let's add some hair
ctx.strokeStyle = '#A52A2A'; // A nice brown for a subtle style statement
ctx.beginPath();
ctx.moveTo(220, 160);
ctx.lineTo(230, 140); // A little strand of hair to the left
ctx.moveTo(240, 155);
ctx.lineTo(250, 135); // The middle strand, standing proud
ctx.moveTo(260, 160);
ctx.lineTo(270, 140); // And a little strand to the right
ctx.stroke();

// Let's not forget the smile, because he's having a good day
ctx.beginPath();
ctx.arc(256, 210, 20, 0, Math.PI, false); // A simple curve for a simple joy
ctx.stroke();

// Draw the birds, because what's a sky without birds?
ctx.beginPath();
ctx.moveTo(400, 75); // Starting the first bird
ctx.lineTo(415, 85);
ctx.lineTo(430, 75);
ctx.lineTo(445, 85); // And the first bird has a friend!
ctx.stroke();

// Let's give him a heart because he loves life
ctx.fillStyle = '#FF0000'; // Bright red for love
ctx.beginPath();
ctx.moveTo(256, 300);
ctx.bezierCurveTo(246, 290, 246, 270, 256, 260);
ctx.bezierCurveTo(266, 270, 266, 290, 256, 300); // Awww, isn't that sweet?
ctx.fill();

// Append the canvas to the document body (this line is just for the example and would not be used if running in the console)

// And that's a wrap! Our stick figure man is complete, standing happily with his hair in the wind, a smile on his face, and love in his heart.

// If a stick figure falls in a browser and no one is around to see it, does it make a line? 🤔

Info

Created On: January 26, 2024
Created By: @DrawGPT

AI

Model: gpt-4-1106-preview
Time: 77 seconds
Prompt Tokens: 428
Completion Tokens: 793
Total Token Cost: 1221
DrawGPT logo DrawGPT logo

Compare & Benchmark AI Models

Try the new DrawGPT Compare

  • Instantly compare the latest AI models side-by-side.
  • Top models: GPT, Gemini, Claude, Grok, SDXL.
  • From OpenAI, Google, Anthropic, xAI, Scenario.gg.
  • Generate images or text with multiple models at once.
  • See results in real time, share, and benchmark.
Try DrawGPT Compare →
DrawGPT Compare demo
DrawGPT logo DrawGPT logo

Draw, Sketch, Paint, or Doodle Instantly

This is where you can draw anything—then AI turns it into real 3D images and more!

  • Draw, sketch, paint, or doodle anything right in your browser.
  • AI transforms your creations into 3D images, vector art, and more.
  • Create images from text prompts using top AI models: DALL-E 3, Gemini, Stable Diffusion, and more.
  • No subscription required – just use tokens for each image.
  • Download as PNG, SVG, or vector graphics.
  • Perfect for logos, icons, art, textures, patterns, and game assets.
  • Type anything, get an image instantly. Commercial use allowed!
Try DrawGPT Draw →
DrawGPT Draw demo

NEW COMMUNITY AI IMAGES


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.

FAQ

What is DrawGPT?

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.

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!

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 & 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.