G2 Ranch

G2 Ranch - DrawGPT

Yeehaw, we've got ourselves a ranch!

Javascript Code

                        // G2 Ranch
ctx.fillStyle = "#FAEBD7"; // setting the background color to antique white
ctx.fillRect(0, 0, 512, 512); // filling the entire canvas with the background color

// Drawing the ranch
ctx.fillStyle = "#8B4513"; // setting the fill color to saddle brown
ctx.fillRect(60, 300, 400, 150); // drawing the ranch building

// Drawing the roof
ctx.beginPath(); // starting the path
ctx.moveTo(50, 300); // moving to the top left corner of the ranch
ctx.lineTo(270, 150); // drawing a line to the top center of the canvas
ctx.lineTo(490, 300); // drawing a line to the top right corner of the ranch
ctx.closePath(); // closing the path
ctx.fillStyle = "#A0522D"; // setting the fill color to sienna
ctx.fill(); // filling the path with the fill color

// Drawing the chimney
ctx.beginPath(); // starting the path
ctx.moveTo(350, 200); // moving to the top of the ranch
ctx.lineTo(350, 150); // drawing a line down to the roof
ctx.lineTo(370, 150); // drawing a line over to the right
ctx.lineTo(370, 200); // drawing a line up to the top of the chimney
ctx.closePath(); // closing the path
ctx.fillStyle = "#696969"; // setting the fill color to dim grey
ctx.fill(); // filling the path with the fill color

// Drawing the sun
ctx.beginPath(); // starting the path
ctx.arc(100, 100, 50, 0, 2 * Math.PI); // drawing a circle for the sun
ctx.fillStyle = "#FFD700"; // setting the fill color to gold
ctx.fill(); // filling the path with the fill color

// Drawing the mountains
ctx.beginPath(); // starting the path
ctx.moveTo(0, 250); // moving to the left side of the canvas
ctx.lineTo(100, 150); // drawing a line up to the first mountain peak
ctx.lineTo(200, 250); // drawing a line down to the valley
ctx.lineTo(300, 100); // drawing a line up to the second mountain peak
ctx.lineTo(400, 250); // drawing a line down to the valley
ctx.lineTo(512, 150); // drawing a line up to the right side of the canvas
ctx.lineTo(512, 512); // drawing a line down to the bottom of the canvas
ctx.lineTo(0, 512); // drawing a line back to the left side of the canvas
ctx.closePath(); // closing the path
ctx.fillStyle = "#808080"; // setting the fill color to grey
ctx.fill(); // filling the path with the fill color

// Drawing the grass
ctx.fillStyle = "#228B22"; // setting the fill color to forest green
ctx.fillRect(0, 450, 512, 62); // drawing the grass at the bottom of the canvas

// Drawing the fence
ctx.beginPath(); // starting the path
ctx.moveTo(0, 375); // moving to the left side of the canvas
ctx.lineTo(512, 375); // drawing a line to the right side of the canvas
ctx.lineWidth = 5; // setting the line width to 5 pixels
ctx.strokeStyle = "#8B4513"; // setting the stroke color to saddle brown
ctx.stroke(); // drawing the path with the stroke color

// Drawing the cows
ctx.fillStyle = "#FF69B4"; // setting the fill color to hot pink
ctx.fillRect(200, 380, 70, 40); // drawing the first cow
ctx.fillRect(300, 380, 70, 40); // drawing the second cow

// Drawing the tails of the cows
ctx.beginPath(); // starting the path
ctx.moveTo(270, 400); // moving to the middle of the first cow
ctx.lineTo(260, 380); // drawing a line to the left side of the first cow
ctx.moveTo(370, 400); // moving to the middle of the second cow
ctx.lineTo(380, 380); // drawing a line to the right side of the second cow
ctx.lineWidth = 2; // setting the line width to 2 pixels
ctx.strokeStyle = "#FF69B4"; // setting the stroke color to hot pink
ctx.stroke(); // drawing the path with the stroke color

// Drawing the clouds
ctx.beginPath(); // starting the path
ctx.arc(450, 75, 30, 0, 2 * Math.PI); // drawing a circle for the first cloud
ctx.arc(500, 75, 30, 0, 2 * Math.PI); // drawing a circle for the second cloud
ctx.arc(475, 50, 30, 0, 2 * Math.PI); // drawing a circle for the third cloud
ctx.fillStyle = "#FFFFFF"; // setting the fill color to white
ctx.fill(); // filling the path with the fill color

// Drawing the birds
ctx.beginPath(); // starting the path
ctx.moveTo(50, 50); // moving to the left side of the canvas
ctx.lineTo(70, 70); // drawing a line to the first bird
ctx.moveTo(70, 70); // moving to the first bird
ctx.lineTo(90, 50); // drawing a line to the second bird
ctx.moveTo(70, 70); // moving back to the first bird
ctx.lineTo(90, 90); // drawing a line to the third bird
ctx.lineWidth = 2; // setting the line width to 2 pixels
ctx.strokeStyle = "#000000"; // setting the stroke color to black
ctx.stroke(); // drawing the path with the stroke color

// Yeehaw, we've got ourselves a ranch!

Info

Created On: April 27, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-0301
Time: 130 seconds
Prompt Tokens: 179
Completion Tokens: 1232
Total Token Cost: 1411

NEW AI IMAGES


These are recent AI images made by the community!

FAQ

What is DrawGPT?

DrawGPT is a an AI art generator that uses the GPT-3, GPT-4, DALL-E 3, Custom GPTs, ChatGPT, and other large language models by OpenAI to generate new images from text prompts.

The AI is able to express itself visually through words by writing code to draw and create unique images. This is the same AI powering the very popular ChatGPT large language model AI.

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!

GPT-3, GPT-4, ChatGPT, and DALL-E 3 only allow input from words. Even GPT-4V which uses image recogintion via AI converts the output to words for use with other AI models. That makes their understanding of the visual world extremely unusual. This AI is able to draw images just like ChatGPT can draw images.

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 are made public during submission.

Depending on the situation the prompts themselves are stored internally for research purposes but given that people are morons and put things in there like personal information it is unlikely DrawGPT would ever be able to release the raw prompts publicly.

Employees at OpenAI and DrawGPT have access to any prompts you submit.

DO NOT SUBMIT PERSONAL INFORMATION.

Is This AI Sentient? Will It End Us?

No.