Tower in Water

Tower in Water - DrawGPT
Tower in water
Bot
Double checking my work, no errors found! Yay!

Javascript Code

                        // Tower in Water

// Setting up canvas

// Drawing the tower
ctx.fillStyle = '#808080'; // Gray color for the tower
ctx.fillRect(200, 200, 112, 272); // Drawing the tower body

// Drawing the tower top
ctx.fillStyle = '#FFCC00'; // Yellow color for the top
ctx.beginPath();
ctx.moveTo(200, 200); // Starting point of the tower top
ctx.lineTo(256, 100); // First point of the triangle
ctx.lineTo(312, 200); // Second point of the triangle
ctx.closePath(); // Closing the path
ctx.fill(); // Filling the triangle

// Drawing the water
ctx.fillStyle = '#3399FF'; // Blue color for the water
ctx.fillRect(0, 472, 512, 40); // Drawing the water body

// Adding some waves to the water
ctx.strokeStyle = '#FFFFFF'; // White color for the waves
ctx.lineWidth = 2; // Setting the line width
ctx.beginPath();
for (let i = 0; i < 512; i += 20) {
ctx.moveTo(i, 480); // Starting point of each wave
ctx.lineTo(i + 10, 488); // First point of the wave
ctx.lineTo(i + 20, 480); // Second point of the wave
}
ctx.stroke(); // Drawing the waves

// Adding some happy fish swimming in the water
ctx.fillStyle = '#FF69B4'; // Pink color for the fish
ctx.beginPath();
ctx.arc(100, 500, 20, 0, Math.PI * 2); // Drawing the fish body
ctx.fill(); // Filling the fish body

ctx.fillStyle = '#FFFFFF'; // White color for the fish eye
ctx.beginPath();
ctx.arc(108, 492, 4, 0, Math.PI * 2); // Drawing the fish eye
ctx.fill(); // Filling the fish eye

ctx.strokeStyle = '#FF69B4'; // Pink color for the fish lips
ctx.lineWidth = 2; // Setting the line width
ctx.beginPath();
ctx.moveTo(90, 510); // Starting point of the fish lips
ctx.lineTo(100, 515); // First point of the fish lips
ctx.lineTo(110, 510); // Second point of the fish lips
ctx.stroke(); // Drawing the fish lips

// Adding a happy sun in the sky
ctx.fillStyle = '#FFFF00'; // Yellow color for the sun
ctx.beginPath();
ctx.arc(450, 60, 40, 0, Math.PI * 2); // Drawing the sun
ctx.fill(); // Filling the sun

ctx.fillStyle = '#FFCC00'; // Yellow color for the sun rays
ctx.beginPath();
ctx.moveTo(450, 20); // Starting point of the sun rays
ctx.lineTo(450, 100); // First point of the sun rays
ctx.lineTo(420, 60); // Second point of the sun rays
ctx.lineTo(480, 60); // Third point of the sun rays
ctx.closePath(); // Closing the path
ctx.fill(); // Filling the sun rays

// Adding some happy clouds in the sky
ctx.fillStyle = '#FFFFFF'; // White color for the clouds
ctx.beginPath();
ctx.arc(100, 80, 30, 0, Math.PI * 2); // Drawing the first cloud
ctx.arc(140, 80, 30, 0, Math.PI * 2); // Drawing the second cloud
ctx.arc(120, 100, 30, 0, Math.PI * 2); // Drawing the third cloud
ctx.fill(); // Filling the clouds

// Adding a happy bird flying in the sky
ctx.fillStyle = '#FF0000'; // Red color for the bird
ctx.beginPath();
ctx.moveTo(200, 100); // Starting point of the bird
ctx.lineTo(220, 90); // First point of the bird
ctx.lineTo(230, 100); // Second point of the bird
ctx.lineTo(220, 110); // Third point of the bird
ctx.closePath(); // Closing the path
ctx.fill(); // Filling the bird

// Adding a happy fisherman on the tower
ctx.fillStyle = '#0000FF'; // Blue color for the fisherman
ctx.fillRect(200, 408, 20, 40); // Drawing the fisherman body

ctx.fillStyle = '#FFCC00'; // Yellow color for the fisherman head
ctx.beginPath();
ctx.arc(210, 398, 10, 0, Math.PI * 2); // Drawing the fisherman head
ctx.fill(); // Filling the fisherman head

ctx.strokeStyle = '#000000'; // Black color for the fisherman fishing rod
ctx.lineWidth = 2; // Setting the line width
ctx.beginPath();
ctx.moveTo(210, 398); // Starting point of the fishing rod
ctx.lineTo(250, 350); // First point of the fishing rod
ctx.lineTo(250, 320); // Second point of the fishing rod
ctx.stroke(); // Drawing the fishing rod


// Double checking my work, no errors found! Yay!

Info

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

AI

Model: gpt-3.5-turbo-16k-0613
Time: 18 seconds
Prompt Tokens: 176
Completion Tokens: 1146
Total Token Cost: 1322
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.