Polluted Sea Water with Plastic Bags and Bottles

Polluted Sea Water with Plastic Bags and Bottles - DrawGPT
polluted sea water with plastic bags and bottles
Bot
Funny comment: "Remember, littering is for fish, not for humans!"

Javascript Code

                        // Polluted Sea Water with Plastic Bags and Bottles

// Drawing the background sea water
ctx.fillStyle = "#0077be"; // Blue color for the sea water
ctx.fillRect(0, 0, 512, 512); // Filling the canvas with sea water

// Drawing the plastic bags
ctx.fillStyle = "#ff0000"; // Red color for plastic bags
ctx.beginPath();
ctx.moveTo(150, 200); // Starting point of the first bag
ctx.lineTo(200, 150); // Drawing the first bag
ctx.lineTo(250, 200);
ctx.lineTo(200, 250);
ctx.closePath();
ctx.fill(); // Filling the first bag

ctx.beginPath();
ctx.moveTo(300, 300); // Starting point of the second bag
ctx.lineTo(350, 250); // Drawing the second bag
ctx.lineTo(400, 300);
ctx.lineTo(350, 350);
ctx.closePath();
ctx.fill(); // Filling the second bag

// Drawing the plastic bottles
ctx.fillStyle = "#00ff00"; // Green color for plastic bottles
ctx.beginPath();
ctx.arc(100, 400, 25, 0, 2*Math.PI); // Drawing the first bottle
ctx.closePath();
ctx.fill(); // Filling the first bottle

ctx.beginPath();
ctx.arc(400, 100, 25, 0, 2*Math.PI); // Drawing the second bottle
ctx.closePath();
ctx.fill(); // Filling the second bottle

// Adding details to the plastic bags and bottles
ctx.strokeStyle = "#000000"; // Black color for outlines
ctx.lineWidth = 2; // Outline thickness

ctx.beginPath();
ctx.moveTo(150, 200);
ctx.lineTo(200, 150); // Adding outline to the first bag
ctx.lineTo(250, 200);
ctx.lineTo(200, 250);
ctx.closePath();
ctx.stroke();

ctx.beginPath();
ctx.moveTo(300, 300);
ctx.lineTo(350, 250); // Adding outline to the second bag
ctx.lineTo(400, 300);
ctx.lineTo(350, 350);
ctx.closePath();
ctx.stroke();

ctx.beginPath();
ctx.arc(100, 400, 25, 0, 2*Math.PI); // Adding outline to the first bottle
ctx.closePath();
ctx.stroke();

ctx.beginPath();
ctx.arc(400, 100, 25, 0, 2*Math.PI); // Adding outline to the second bottle
ctx.closePath();
ctx.stroke();

// Adding waves to the sea water
ctx.strokeStyle = "#ffffff"; // White color for waves
ctx.lineWidth = 3; // Wave thickness

ctx.beginPath();
ctx.moveTo(0, 450); // Starting point of the first wave
ctx.quadraticCurveTo(100, 420, 200, 450); // Drawing the first wave
ctx.quadraticCurveTo(300, 480, 400, 450);
ctx.quadraticCurveTo(500, 420, 512, 450); // Ending point of the first wave
ctx.stroke();

ctx.beginPath();
ctx.moveTo(0, 470); // Starting point of the second wave
ctx.quadraticCurveTo(100, 500, 200, 470); // Drawing the second wave
ctx.quadraticCurveTo(300, 440, 400, 470);
ctx.quadraticCurveTo(500, 500, 512, 470); // Ending point of the second wave
ctx.stroke();

// Adding some fish swimming in the polluted water
ctx.fillStyle = "#ffcc00"; // Yellow color for fish

ctx.beginPath();
ctx.moveTo(50, 300); // Starting point of the first fish
ctx.lineTo(70, 280); // Drawing the first fish
ctx.lineTo(70, 320);
ctx.closePath();
ctx.fill(); // Filling the first fish

ctx.beginPath();
ctx.moveTo(150, 100); // Starting point of the second fish
ctx.lineTo(170, 80); // Drawing the second fish
ctx.lineTo(170, 120);
ctx.closePath();
ctx.fill(); // Filling the second fish

// Adding eyes to the fish
ctx.fillStyle = "#000000"; // Black color for eyes
ctx.beginPath();
ctx.arc(60, 300, 5, 0, 2*Math.PI); // Drawing the eye of the first fish
ctx.closePath();
ctx.fill(); // Filling the eye

ctx.beginPath();
ctx.arc(160, 100, 5, 0, 2*Math.PI); // Drawing the eye of the second fish
ctx.closePath();
ctx.fill(); // Filling the eye

// Adding mouths to the fish
ctx.strokeStyle = "#000000"; // Black color for mouths
ctx.lineWidth = 2; // Mouth thickness

ctx.beginPath();
ctx.moveTo(75, 300);
ctx.quadraticCurveTo(95, 320, 75, 320); // Drawing the mouth of the first fish
ctx.stroke();

ctx.beginPath();
ctx.moveTo(175, 100);
ctx.quadraticCurveTo(195, 120, 175, 120); // Drawing the mouth of the second fish
ctx.stroke();

// Adding a shark swimming in the polluted water
ctx.fillStyle = "#0000ff"; // Blue color for the shark

ctx.beginPath();
ctx.moveTo(350, 400); // Starting point of the shark
ctx.lineTo(370, 380); // Drawing the shark
ctx.lineTo(410, 400);
ctx.lineTo(370, 420);
ctx.closePath();
ctx.fill(); // Filling the shark

// Adding an eye to the shark
ctx.fillStyle = "#ffffff"; // White color for the eye
ctx.beginPath();
ctx.arc(400, 400, 5, 0, 2*Math.PI); // Drawing the eye of the shark
ctx.closePath();
ctx.fill(); // Filling the eye

// Adding teeth to the shark
ctx.strokeStyle = "#ffffff"; // White color for teeth
ctx.lineWidth = 1; // Teeth thickness

ctx.beginPath();
ctx.moveTo(385, 408);
ctx.lineTo(390, 415); // Drawing the first tooth
ctx.lineTo(395, 408);
ctx.closePath();
ctx.stroke();

ctx.beginPath();
ctx.moveTo(400, 408);
ctx.lineTo(405, 415); // Drawing the second tooth
ctx.lineTo(410, 408);
ctx.closePath();
ctx.stroke();

ctx.beginPath();
ctx.moveTo(415, 408);
ctx.lineTo(420, 415); // Drawing the third tooth
ctx.lineTo(425, 408);
ctx.closePath();
ctx.stroke();

// Adding a caption to the drawing
ctx.fillStyle = "#ffffff"; // White color for caption
ctx.font = "bold 20px Arial"; // Font style for caption
ctx.textAlign = "center"; // Center alignment for caption
ctx.fillText("Polluted Sea", 256, 40); // Drawing the caption

// Funny comment: "Remember, littering is for fish, not for humans!"

Info

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

AI

Model: gpt-3.5-turbo-16k-0613
Time: 20 seconds
Prompt Tokens: 182
Completion Tokens: 1438
Total Token Cost: 1620
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.