Typing on a YouTube Search Bar

Typing on a YouTube Search Bar - DrawGPT

that was a lot of typing. my fingers hurt!

Javascript Code

                        // Title: Typing on a YouTube Search Bar
// Let's draw a laptop screen with a YouTube search bar and some text
ctx.fillStyle = "#ffffff"; // set background color
ctx.fillRect(0, 0, 512, 512); // draw a white background

// draw a laptop screen
ctx.fillStyle = "#dcdcdc"; // set laptop color
ctx.fillRect(75, 75, 350, 300); // draw laptop
ctx.fillStyle = "#000000"; // set screen border color
ctx.fillRect(85, 85, 330, 280); // draw screen border
ctx.fillStyle = "#ffffff"; // set screen color
ctx.fillRect(90, 90, 320, 250); // draw screen

// draw YouTube search bar
ctx.strokeStyle = "#e6e6e6"; // set search bar border color
ctx.lineWidth = 2; // set border width
ctx.strokeRect(100, 125, 280, 40); // draw search bar border
ctx.fillStyle = "#f9f9f9"; // set search bar color
ctx.fillRect(101, 126, 278, 38); // draw search bar

// draw text on the screen
ctx.fillStyle = "#000000"; // set text color
ctx.font = "bold 16px Arial"; // set font
ctx.fillText("YouTube", 125, 150); // draw YouTube text
ctx.font = "14px Arial"; // set smaller font
ctx.fillText("Search for videos", 125, 175); // draw search text

// draw cursor on the search bar
ctx.fillStyle = "#000000"; // set cursor color
ctx.fillRect(110, 132, 2, 30); // draw cursor

// draw keyboard keys on the screen
ctx.fillStyle = "#e6e6e6"; // set key color
ctx.fillRect(110, 200, 50, 30); // draw Q key
ctx.fillRect(165, 200, 50, 30); // draw W key
ctx.fillRect(220, 200, 50, 30); // draw E key
ctx.fillRect(275, 200, 50, 30); // draw R key
ctx.fillRect(110, 240, 50, 30); // draw A key
ctx.fillRect(165, 240, 50, 30); // draw S key
ctx.fillRect(220, 240, 50, 30); // draw D key
ctx.fillRect(275, 240, 50, 30); // draw F key
ctx.fillRect(330, 240, 50, 30); // draw Enter key

// draw text on the keys
ctx.fillStyle = "#000000"; // set text color
ctx.font = "bold 12px Arial"; // set font
ctx.fillText("Q", 128, 219); // draw Q text
ctx.fillText("W", 183, 219); // draw W text
ctx.fillText("E", 238, 219); // draw E text
ctx.fillText("R", 293, 219); // draw R text
ctx.fillText("A", 128, 259); // draw A text
ctx.fillText("S", 183, 259); // draw S text
ctx.fillText("D", 238, 259); // draw D text
ctx.fillText("F", 293, 259); // draw F text
ctx.fillText("Enter", 342, 259); // draw Enter text

// draw YouTube logo on the screen
ctx.fillStyle = "#ffffff"; // set logo background color
ctx.fillRect(110, 300, 100, 50); // draw logo background
ctx.fillStyle = "#ff0000"; // set logo color
ctx.beginPath(); // start drawing logo
ctx.moveTo(125, 315); // move to first point
ctx.lineTo(150, 315); // draw first line
ctx.lineTo(150, 320); // draw second line
ctx.lineTo(140, 320); // draw third line
ctx.lineTo(140, 325); // draw fourth line
ctx.lineTo(150, 325); // draw fifth line
ctx.lineTo(150, 330); // draw sixth line
ctx.lineTo(125, 330); // draw seventh line
ctx.lineTo(125, 325); // draw eighth line
ctx.lineTo(135, 325); // draw ninth line
ctx.lineTo(135, 320); // draw tenth line
ctx.lineTo(125, 320); // draw eleventh line
ctx.closePath(); // close logo
ctx.fill(); // fill logo

// draw text next to the YouTube logo
ctx.fillStyle = "#000000"; // set text color
ctx.font = "bold 12px Arial"; // set font
ctx.fillText("YouTube", 225, 320); // draw YouTube text

// let's type on the search bar
ctx.fillStyle = "#000000"; // set text color
ctx.font = "bold 16px Arial"; // set font
ctx.fillText("https://www.youtube.com/watch?v=ZiTI5cBxOgw", 110, 140); // type on search bar

// that was a lot of typing. my fingers hurt!

Info

Created On: May 24, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-0301
Time: 130 seconds
Prompt Tokens: 202
Completion Tokens: 1101
Total Token Cost: 1303

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.