Miserable Captivity

Miserable Captivity - DrawGPT
prison cell miserable waiting freedom
Bot
Adding a funny comment at the end because why not? 🤷‍♂️ "The prisoner is just one bad joke away from escaping."

Javascript Code

                        // Title: "Miserable Captivity"

// Drawing a prison cell with a miserable atmosphere,
// symbolizing the longing for freedom and hope.

ctx.fillStyle = "#000"; // Setting the background color to black
ctx.fillRect(0, 0, 512, 512); // Filling the canvas with black

// Drawing the prison cell bars
ctx.fillStyle = "#444"; // Setting the bars color to dark gray
ctx.fillRect(128, 128, 256, 256); // Drawing the main bars

ctx.fillStyle = "#222"; // Setting the inner bars color to even darker gray
ctx.fillRect(160, 160, 192, 192); // Drawing the inner bars

// Drawing the prison cell door
ctx.fillStyle = "#666"; // Setting the door color to light gray
ctx.fillRect(336, 128, 48, 256); // Drawing the door

// Adding a small window to the prison cell
ctx.fillStyle = "#999"; // Setting the window color to gray
ctx.fillRect(160, 224, 64, 96); // Drawing the window

// Drawing the prisoner inside the cell
ctx.fillStyle = "#FF0000"; // Setting the prisoner color to red
ctx.fillRect(192, 288, 32, 32); // Drawing the body

ctx.fillStyle = "#FFCC00"; // Setting the face color to orange
ctx.beginPath(); // Starting the path for the face
ctx.arc(208, 304, 8, 0, 2 * Math.PI); // Drawing the face
ctx.fill(); // Filling the face

// Adding the word "FREEDOM" on the prison cell wall
ctx.fillStyle = "#FFF"; // Setting the text color to white
ctx.font = "bold 24px Arial"; // Setting the font style
ctx.fillText("FREEDOM", 200, 180); // Drawing the text

// Adding a small spider on the web in the corner
ctx.fillStyle = "#777"; // Setting the spider color to gray
ctx.beginPath(); // Starting the path for the spider body
ctx.arc(80, 80, 8, 0, 2 * Math.PI); // Drawing the spider body
ctx.fill(); // Filling the spider body

ctx.strokeStyle = "#777"; // Setting the spider web color to gray
ctx.lineWidth = 2; // Setting the web line width
ctx.beginPath(); // Starting the path for the spider web
ctx.moveTo(80, 80); // Moving to the starting point
ctx.lineTo(160, 160); // Drawing the first web line
ctx.lineTo(80, 160); // Drawing the second web line
ctx.lineTo(80, 80); // Drawing the third web line
ctx.stroke(); // Drawing the spider web

// Adding a key near the cell door
ctx.fillStyle = "#FFCC00"; // Setting the key color to orange
ctx.beginPath(); // Starting the path for the key
ctx.moveTo(336, 352); // Moving to the starting point
ctx.lineTo(336, 400); // Drawing the first side of the key
ctx.lineTo(352, 400); // Drawing the top of the key
ctx.lineTo(352, 408); // Drawing the second side of the key
ctx.lineTo(344, 408); // Drawing the bottom of the key
ctx.lineTo(344, 400); // Drawing the third side of the key
ctx.lineTo(336, 400); // Drawing the last side of the key
ctx.closePath(); // Closing the path
ctx.fill(); // Filling the key

// Adding a touch of humor with a smiling sun outside the window
ctx.fillStyle = "#FFCC00"; // Setting the sun color to orange
ctx.beginPath(); // Starting the path for the sun
ctx.arc(192, 224, 32, 0, 2 * Math.PI); // Drawing the sun
ctx.fill(); // Filling the sun

ctx.fillStyle = "#FF0000"; // Setting the sun rays color to red
ctx.beginPath(); // Starting the path for the sun rays
ctx.moveTo(192, 192); // Moving to the starting point
ctx.lineTo(192, 256); // Drawing the first sun ray
ctx.moveTo(160, 224); // Moving to the starting point
ctx.lineTo(224, 224); // Drawing the second sun ray
ctx.moveTo(192, 192); // Moving to the starting point
ctx.lineTo(224, 256); // Drawing the third sun ray
ctx.moveTo(160, 224); // Moving to the starting point
ctx.lineTo(224, 192); // Drawing the fourth sun ray
ctx.stroke(); // Drawing the sun rays

// Adding some birds flying in the sky
ctx.fillStyle = "#FFF"; // Setting the bird color to white
ctx.beginPath(); // Starting the path for the first bird
ctx.moveTo(400, 80); // Moving to the starting point
ctx.lineTo(384, 72); // Drawing the first wing
ctx.lineTo(376, 80); // Drawing the body
ctx.lineTo(384, 88); // Drawing the second wing
ctx.closePath(); // Closing the path
ctx.fill(); // Filling the first bird

ctx.beginPath(); // Starting the path for the second bird
ctx.moveTo(424, 96); // Moving to the starting point
ctx.lineTo(408, 88); // Drawing the first wing
ctx.lineTo(400, 96); // Drawing the body
ctx.lineTo(408, 104); // Drawing the second wing
ctx.closePath(); // Closing the path
ctx.fill(); // Filling the second bird

// Adding a funny comment at the end because why not? 🤷‍♂️
// "The prisoner is just one bad joke away from escaping."

Info

Created On: July 28, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-16k-0613
Time: 15 seconds
Prompt Tokens: 179
Completion Tokens: 1212
Total Token Cost: 1391
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.