Deck and Pergola at Night with Lighting

Deck and Pergola at Night with Lighting - DrawGPT
deck and pergola at night with lighting
Bot
That's one fancy deck and pergola with all the night lights and cute critters! Stay cozy and enjoy the view! πŸ˜„

Javascript Code

                        // Title: Deck and Pergola at Night with Lighting

// Creating a 512x512 canvas

// Drawing a dark blue background
ctx.fillStyle = '#1a1a54';
ctx.fillRect(0, 0, 512, 512);

// Drawing a wooden deck
ctx.fillStyle = '#8b4513';
ctx.fillRect(100, 400, 312, 30);
ctx.fillRect(80, 430, 352, 10);
ctx.fillRect(70, 440, 372, 60);

// Drawing the pergola
ctx.fillStyle = '#8b4513';
ctx.fillRect(100, 100, 312, 10);
ctx.fillRect(100, 100, 10, 300);
ctx.fillRect(402, 100, 10, 300);
ctx.fillRect(100, 390, 312, 10);

// Drawing the pergola roof
ctx.fillStyle = '#4d2600';
ctx.beginPath();
ctx.moveTo(100, 100);
ctx.lineTo(256, 20);
ctx.lineTo(412, 100);
ctx.closePath();
ctx.fill();

// Drawing the pergola pillars
ctx.fillStyle = '#8b4513';
ctx.fillRect(120, 110, 40, 290);
ctx.fillRect(190, 110, 40, 290);
ctx.fillRect(260, 110, 40, 290);
ctx.fillRect(330, 110, 40, 290);

// Drawing the pergola lights
ctx.fillStyle = '#ffd700';
ctx.beginPath();
ctx.arc(140, 140, 6, 0, Math.PI * 2);
ctx.arc(140, 210, 6, 0, Math.PI * 2);
ctx.arc(140, 280, 6, 0, Math.PI * 2);
ctx.arc(140, 350, 6, 0, Math.PI * 2);
ctx.arc(210, 140, 6, 0, Math.PI * 2);
ctx.arc(210, 210, 6, 0, Math.PI * 2);
ctx.arc(210, 280, 6, 0, Math.PI * 2);
ctx.arc(210, 350, 6, 0, Math.PI * 2);
ctx.arc(280, 140, 6, 0, Math.PI * 2);
ctx.arc(280, 210, 6, 0, Math.PI * 2);
ctx.arc(280, 280, 6, 0, Math.PI * 2);
ctx.arc(280, 350, 6, 0, Math.PI * 2);
ctx.arc(350, 140, 6, 0, Math.PI * 2);
ctx.arc(350, 210, 6, 0, Math.PI * 2);
ctx.arc(350, 280, 6, 0, Math.PI * 2);
ctx.arc(350, 350, 6, 0, Math.PI * 2);
ctx.fill();

// Drawing the pergola light bulbs
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.arc(140, 140, 4, 0, Math.PI * 2);
ctx.arc(140, 210, 4, 0, Math.PI * 2);
ctx.arc(140, 280, 4, 0, Math.PI * 2);
ctx.arc(140, 350, 4, 0, Math.PI * 2);
ctx.arc(210, 140, 4, 0, Math.PI * 2);
ctx.arc(210, 210, 4, 0, Math.PI * 2);
ctx.arc(210, 280, 4, 0, Math.PI * 2);
ctx.arc(210, 350, 4, 0, Math.PI * 2);
ctx.arc(280, 140, 4, 0, Math.PI * 2);
ctx.arc(280, 210, 4, 0, Math.PI * 2);
ctx.arc(280, 280, 4, 0, Math.PI * 2);
ctx.arc(280, 350, 4, 0, Math.PI * 2);
ctx.arc(350, 140, 4, 0, Math.PI * 2);
ctx.arc(350, 210, 4, 0, Math.PI * 2);
ctx.arc(350, 280, 4, 0, Math.PI * 2);
ctx.arc(350, 350, 4, 0, Math.PI * 2);
ctx.fill();

// Adding a moon in the sky
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.arc(460, 60, 40, 0, Math.PI * 2);
ctx.fill();

// Adding stars in the sky
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.arc(50, 50, 2, 0, Math.PI * 2);
ctx.arc(120, 80, 2, 0, Math.PI * 2);
ctx.arc(180, 30, 2, 0, Math.PI * 2);
ctx.arc(220, 70, 2, 0, Math.PI * 2);
ctx.arc(270, 50, 2, 0, Math.PI * 2);
ctx.arc(320, 80, 2, 0, Math.PI * 2);
ctx.arc(380, 30, 2, 0, Math.PI * 2);
ctx.arc(430, 70, 2, 0, Math.PI * 2);
ctx.arc(470, 50, 2, 0, Math.PI * 2);
ctx.arc(520, 80, 2, 0, Math.PI * 2);
ctx.arc(580, 30, 2, 0, Math.PI * 2);
ctx.arc(620, 70, 2, 0, Math.PI * 2);
ctx.arc(670, 50, 2, 0, Math.PI * 2);
ctx.arc(720, 80, 2, 0, Math.PI * 2);
ctx.arc(780, 30, 2, 0, Math.PI * 2);
ctx.arc(830, 70, 2, 0, Math.PI * 2);
ctx.arc(870, 50, 2, 0, Math.PI * 2);
ctx.fill();

// Adding a shooting star
ctx.strokeStyle = '#ffffff';
ctx.lineWidth = 2;
ctx.beginPath();
ctx.moveTo(100, 200);
ctx.lineTo(120, 180);
ctx.stroke();

// Adding a shooting star trail
ctx.strokeStyle = '#ffffff';
ctx.lineWidth = 2;
ctx.beginPath();
ctx.moveTo(120, 180);
ctx.lineTo(140, 160);
ctx.stroke();

// Adding a shooting star head
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.arc(140, 160, 4, 0, Math.PI * 2);
ctx.fill();

// Adding some fireflies
ctx.fillStyle = '#ffff00';
ctx.beginPath();
ctx.arc(200, 420, 2, 0, Math.PI * 2);
ctx.arc(240, 410, 2, 0, Math.PI * 2);
ctx.arc(280, 420, 2, 0, Math.PI * 2);
ctx.arc(320, 410, 2, 0, Math.PI * 2);
ctx.arc(360, 420, 2, 0, Math.PI * 2);
ctx.arc(400, 410, 2, 0, Math.PI * 2);
ctx.arc(440, 420, 2, 0, Math.PI * 2);
ctx.arc(480, 410, 2, 0, Math.PI * 2);
ctx.fill();

// Adding a mischievous raccoon on the deck
ctx.fillStyle = '#000000';
ctx.beginPath();
ctx.arc(300, 400, 30, 0, Math.PI * 2);
ctx.fill();

// Adding the raccoon's eyes
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.arc(285, 390, 5, 0, Math.PI * 2);
ctx.arc(315, 390, 5, 0, Math.PI * 2);
ctx.fill();

// Adding the raccoon's mask
ctx.fillStyle = '#000000';
ctx.fillRect(270, 400, 60, 10);

// Adding the raccoon's ears
ctx.fillStyle = '#000000';
ctx.beginPath();
ctx.moveTo(250, 370);
ctx.lineTo(270, 390);
ctx.lineTo(250, 410);
ctx.closePath();
ctx.fill();

ctx.fillStyle = '#000000';
ctx.beginPath();
ctx.moveTo(330, 370);
ctx.lineTo(310, 390);
ctx.lineTo(330, 410);
ctx.closePath();
ctx.fill();

// Adding a cheeky smile to the raccoon
ctx.strokeStyle = '#ffffff';
ctx.lineWidth = 2;
ctx.beginPath();
ctx.arc(300, 415, 10, 0.2 * Math.PI, 0.8 * Math.PI);
ctx.stroke();

// Adding a speech bubble for the raccoon
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.moveTo(300, 380);
ctx.lineTo(380, 380);
ctx.lineTo(380, 360);
ctx.lineTo(350, 360);
ctx.lineTo(340, 350);
ctx.lineTo(330, 360);
ctx.lineTo(300, 360);
ctx.closePath();
ctx.fill();

// Adding the raccoon's message
ctx.fillStyle = '#000000';
ctx.font = 'bold 14px Arial';
ctx.fillText('Good night, humans!', 310, 370);

// Adding a cute squirrel on the pergola
ctx.fillStyle = '#8b4513';
ctx.beginPath();
ctx.arc(230, 160, 15, 0, Math.PI * 2);
ctx.fill();

// Adding the squirrel's eyes
ctx.fillStyle = '#ffffff';
ctx.beginPath();
ctx.arc(225, 155, 3, 0, Math.PI * 2);
ctx.arc(235, 155, 3, 0, Math.PI * 2);
ctx.fill();

// Adding the squirrel's nose
ctx.fillStyle = '#000000';
ctx.beginPath();
ctx.arc(230, 165, 2, 0, Math.PI * 2);
ctx.fill();

// Adding the squirrel's ears
ctx.fillStyle = '#8b4513';
ctx.beginPath();
ctx.moveTo(220, 140);
ctx.lineTo(220, 150);
ctx.lineTo(200, 150);
ctx.closePath();
ctx.fill();

ctx.fillStyle = '#8b4513';
ctx.beginPath();
ctx.moveTo(240, 140);
ctx.lineTo(240, 150);
ctx.lineTo(260, 150);
ctx.closePath();
ctx.fill();

// Adding a fluffy tail to the squirrel
ctx.fillStyle = '#8b4513';
ctx.beginPath();
ctx.moveTo(245, 175);
ctx.quadraticCurveTo(235, 190, 230, 205);
ctx.quadraticCurveTo(225, 190, 215, 175);
ctx.closePath();
ctx.fill();

// Adding a playful message from the squirrel
ctx.fillStyle = '#000000';
ctx.font = 'bold 14px Arial';
ctx.fillText('Nighty night, friends!', 200, 220);

// That's one fancy deck and pergola with all the night lights and cute critters! Stay cozy and enjoy the view! πŸ˜„

Info

Created On: September 1, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-16k-0613
Time: 73 seconds
Prompt Tokens: 181
Completion Tokens: 2480
Total Token Cost: 2661
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.