ChatGPT Created A Paint Website In 5 Seconds – Learn Now!
Today, I am going to talk about how ChatGPT helped me to create a website where I can draw anything with the cursor just like a paint application. I am sure that you are already amazed at the capabilities that ChatGPT has, but this one is at another dimension as you are about to see.
ChatGPT Is Rising!
ChatGPT is a game-changing large language model developed by OpenAI. Since its release date of November 30, 2022, it has created a significant impact, particularly within the technology industry, due to its impressive capability of understanding and writing code. It is able to write code like a senior developer or even better.
ChatGPT not only writes efficient code, but it can also receive feedback and make improvements. Plus, it can even write clear, informative comments. I have even utilized ChatGPT to create a basic web-based game, directing it through the development process, and it performed exceptionally well. We also highly recommend checking that out.
In this post, we are going to ask ChatGPT to code us a website where we can draw anything on. It will function like an online paint application. This is amazing because the application is useful and ChatGPT is super-fast that it can do that in only 5 seconds.
I already did that, and publish the website online to show you live. You can visit the website via the following link that ChatGPT did for me in 5 seconds. I want you to take a hint from this simple application. Just think about how things would end up if you were spending more time with ChatGPT, creating a professional website in your dreams, sharing it with your friends, and getting users all around the world. Fantastic possibilities…
How To Code A Website In 5 Seconds With ChatGPT
For the sake of simplicity, it is not going to be a complicated website. In this paint app, I just want to be able to pick the color, select the thickness of the brush, and clear the screen. And It is going to be one that can be extensible.
To cover everything from scratch I am going to explain in depth so you can build on your own by yourself just like I did. So even if you are unfamiliar with software development, you will be able to create your own by the time you finish this tutorial. This is another topic that ChatGPT is great at! It makes normal people competent software developers.
Table Of Contents
- Building Project Structure: An overview of the project at a high level.
- Asking ChatGPT For The Code: We will describe our desired application to ChatGPT and implement the code it generates.
- Testing the Application: We will test our application, and try to find a point where it can be improved or fixed.
- Publishing The Website: We will publish the end product on the internet.
Building Project Structure
For the code editor, I used VSCode. You can pick your favorite one if you have any. After opening up VsCode, I create an empty folder then I only add one index.html file under it. That’s it.
Asking ChatGPT For The Code
Here is the magic part. Normally, as a software developer, I would first need to imagine the structure of the code, and think about the interaction between code pieces we are going to write. Then I would need to actually write the code. But now thanks to ChatGPT, I only need to explain what I need in plain English, and in the blink of an eye, it understands and starts to write the desired code.
If you want to copy it, I am adding the prompt I use below.
Give me code for a website where there is a blank canvas and I can draw on it using the cursor, with the option to choose the paint color and brush size. I should also clear the screen. Make the website responsive so that even mobile users have good experience
This took only 5 seconds for ChatGPT to come up with the expected code.
Then I just copy the given code and paste it into the previously created index.html file. That’s it!
Testing the Application
In a normal software development cycle in most cases, we would test our code after writing. So after copying and pasting the code that ChatGPT gave me, I want to test my application. In order to do that, we need a local host. So I use VsCode live extension. With that, I can easily right-click the index.html file and head over to the Open with Live Server.
It opens a browser tab that shows my code in action where I can easily try out the output of the code. Here is what it looks like.
It looks great to me for an application coded in 5 seconds. Usually, we try to detect the deficiencies or the lack of needs our application has in this part. I couldn’t figure out any bug. We can also add new features to this, for example:
- adding the ability to blur
- adding the ability to undo the last action
- adding the ability to cut and paste a selection
- adding the ability to select default patterns e.g square, triangle
The only thing you need to do is just ask ChatGPT for these modifications. But for now, I prefer going without them to keep things simple.
Publishing The Website
Publishing this website on the internet requires its own part. There are many ways to achieve this and delving deeper into that may cause distraction from the main point which is the possibility of creating your own imagined application in just 5 seconds thanks to ChatGPT.
As I said, to publish this application on the internet you would need some extra work and for now, we couldn’t get help from ChatGPT for that ( Surprisingly! ). Therefore, we prepared an article that explains how to host this web application on the internet for free.
You can view the published website that ChatGPT coded for me in the following link.
I want to draw your attention to this. It took us only 5 seconds to get the necessary code from ChatGPT that could otherwise take hours of work for a developer. Not only that, we can also improve this application and can create a professional real-world app that can get millions of users’ attention to our site. It saved hours of time that we can spend on something else we like. We can also monetize these websites if we can reach enough users. It has a huge potential and I am leaving that up to you for now.
Related Post: The Most Powerful ChatGPT Chrome Extension
- To create an HTML website, we used VsCode as a code editor.
- We then added the index.html file under the folder we created.
- We asked ChatGPT for the code by explaining to it the needs in plain English. In this case, it was a website where we can draw anything just like a paint application.
- We copied and pasted the provided code into the index.html file.
- By using VSCode Live Extension, We tested our code, searching for any bug or any improvement we can.
- Subsequently, we utilized the Netlify platform to deploy our website live.
Making ChatGPT Draw Mona Lisa Painting
From its release date of November 30, 2022, ChatGPT has touched the lives of many people. For some of us, it has been a milestone that made us realize the power of artificial intelligence. Today, we will explore what would the output be when ChatGPT tries to draw the Mona Lisa painting.
Briefly speaking, ChatGPT is a large language model developed by the OpenAI company. Its most important ability is to generate text that looks like it was created by humans and engage in dialogue. So This is actually a mischievous task in a way. I will explain why I think so as we go along.
To Make ChatGPT Draw Mona Lisa
When considering this aspect, we will have tried to get an artificial intelligence model that has the biggest ability to generate text to draw a picture. Moreover, we will start at the highest levels and ask it to draw the not-so-ordinary Mona Lisa.
There is a saying by the famous investor Charlie Munger, “Being a one-legged man in an ass-kicking contest.” Today, ChatGPT will be a one-legged man in an ass-kicking contest. We will enjoy watching how it performs.
Can ChatGPT Draw?
No, ChatGPT cannot actually draw pictures in the way we think. It is a language model, and its best ability is to generate text that appears to be produced by humans. In this sense, asking ChatGPT to draw the Mona Lisa painting at first glance seems like an unfair request.
Look at the response it gives when we ask ChatGPT to draw even a simple circle.
When you ask it to draw something, it can have the temperament of a grumpy cat.
The Ways Of Making ChatGPT Draw
Don’t lose hope just yet, there are still some ways to get ChatGPT to draw something for you. One of these ways is to ask it to draw a picture in ASCII format. ASCII is actually the name given to a set of characters. Since ChatGPT is very good with letters, we can use them to create an image of sorts.
Drawing in ASCII format
Following the previous example, I asked ChatGPT to draw a simple circle in ASCII format:
We were able to get ChatGPT to draw something in ASCII format, but since this method is a bit primitive, we will use our second method, SVG, to draw the Mona Lisa painting.
SVG stands for Scalable Vector Graphics, which is the name given to a drawing made using vectors. It is, in a way, the expression of the image using mathematical vectors, and due to the nature of the drawing, it can be scaled to any size without losing resolution.
Because SVG graphics are expressed using vectors, not every image is suitable for this type of drawing, or creating it can be very laborious. Therefore, today, the most suitable alternative for us is to ask ChatGPT to draw the Mona Lisa painting using SVG.
Drawing in SVG format
Before we begin, let’s try to get ChatGPT to draw the circle we created using the ASCII method, but this time using SVG.
Since we used SVG format, we cannot see an image directly here. Instead, ChatGPT has provided us with a code snippet. We can copy this code and paste it into an SVG compiler to see the result. You can try this yourself by searching for an online SVG viewer on a search engine.
ChatGPT Draws Mona Lisa
We can go back to our main topic now. Let’s have ChatGPT, who does amazing work when it comes to writing, draw our Mona Lisa painting. First, we need to log in to ChatGPT.
I used the following prompt. You can try it by yourself by copying and using it.
Using the SVG format, output a schematic reproduction of the Mona Lisa painting. [I want to see a frame, a head, two eyes, a nose, mysterious smile and a body]. Put the output in the code block. Use colors.
Then it gave me the following SVG representation of the Mona Lisa painting.
I really liked the performance ChatGPT showed on the first attempt. But I knew as an advanced language model, it could do more. That’s why I asked ChatGPT to do more detailed work.
And here is a work by ChatGPT, who doesn’t have a great skill in drawing, but in only the second attempt, managed to create a piece that preserves all the artistic meanings of the Mona Lisa painting.
Final Words on ChatGPT and Mona Lisa
Trying to have ChatGPT draw Mona Lisa was quite enjoyable for me. Of course, a much more detailed and beautiful work could have been produced. For this, some corrections need to be made and various feedbacks need to be given. At the end of the day, I think that this text, written solely for entertainment purposes, has fulfilled its purpose
By applying what has been described in this article, you can also ask ChatGPT to draw a picture and even a much more detailed Mona Lisa painting. Regardless of its drawing ability, we still love ChatGPT nonetheless.
In memory of Leonardo Da Vinci…
Have a nice day!
Why does ChatGPT registration require phone number?
If you want to use ChatGPT, you need to create an account. During the account creation process, you will be asked to verify your phone number. This can raise questions in users’ minds for various reasons. We have prepared an article explaining why ChatGPT requires phone number verification.
ChatGPT requires a phone number
The features offered by ChatGPT are great. Moreover, logging into ChatGPT is quite easy. However, when you create your first account, ChatGPT requires you to verify your phone number. If you do not have a phone number or do not want to use this phone number for various reasons, unfortunately, you cannot access ChatGPT.
Related: Step-by-step guide on how to create an account for ChatGPT
Things you should know
- ChatGPT requires a mobile phone number to verify your account for security concerns.
- Phone verification using a landline, VoIP, or Google Voice is not permitted.
- In certain countries, you may use WhatsApp for phone verification.
Why does ChatGPT need my phone number when creating a new account?
ChatGPT requires a phone number for security reasons.According to the official documentation on OpenAI
- When you sign up for our platform, we do require a phone number for security reasons.
- This allows us to verify your account and ensure our platform remains secure.
- We don’t use your phone number for any other purposes, and we take your privacy very seriously.
The last sentence is particularly important. Because when users are required to enter their phone numbers, the most concerning issue for them is whether their phone numbers will be used for any other purposes. According to OpenAI, the founder of ChatGPT, your phone number is only used to verify that you are a real user and to ensure the security of the platform.
Can I use Landline, VoIP, and Google Voice services to verify my phone number?
No. At the time of writing this, they do not support verification using a landline or VoIP (Google Voice, etc) provider.
Can I use my email instead of my phone number?
No. You have to verify your phone number. You should also verify your email address along with your phone number while creating a new account.
Can I use the same mobile number for additional accounts?
You can use the same phone number to verify 2 different accounts at most.
Does ChatGPT send the verification code via voice/email?
Phone verification can only be accomplished through a text message via SMS (or WhatsApp if it is available in your country). The code cannot be sent via email or phone call.
Can I use Whatsapp for verification?
Yes. In certain countries, you can complete phone verification with WhatsApp instead of via SMS.
Having trouble verifying your phone number on ChatGPT?
You may have encountered various errors during phone verification. You can follow the steps below to resolve these errors.
Too many attempts error
Wait a few hours and try again. If you still have the same issue then please try the following resolutions:
- Make sure that you haven’t blocked any phone numbers or activated the “Do Not Disturb” feature.
- Make sure that your device is turned on and is within an area with cellphone coverage.
- Verify that you are receiving SMS messages from other sources or contacts.
- Make sure that you are not using any applications that could potentially block text messages.
- Reset your device/handset if necessary.
Unsupported Country error
This could be due to attempting to register from a country or territory that ChatGPT currently does not support. You can verify this by referring to the list of supported countries and territories.
How to Upgrade to ChatGPT Plus
ChatGPT Plus is a paid subscription service that provides users with faster response times, priority access to new features, and access to ChatGPT even during high-demand periods. ChatGPT Plus members also have the added benefit of being able to use the latest GPT-4 model. So, how can one upgrade to a ChatGPT Plus membership?
Upgrading to ChatGPT Plus:
To have a ChatGPT Plus membership, you first need to have a standard ChatGPT membership. Creating a new ChatGPT account is an easy process that involves verifying your email address and phone number. You can refer to our article which provides step-by-step instructions with pictures on how to create a ChatGPT account.
How much does it cost to upgrade to a ChatGPT Plus membership?
It costs $20 per month.
Step 1: Log in to ChatGPT
After creating your account or with your existing account, you must log in to ChatGPT.
Step 2: Click “Upgrade to Plus” button on the menu located on the left.
Step 3: Click “Upgrade plan” after the pop-up menu appears.
Step 4: Complete all payment information and click the “Subscribe” button located at the bottom.
Step 5: You can start enjoying the privileges offered to ChatGPT Plus members.
Congratulations! After completing Step 4 and successfully completing the payment process, you will have completed the upgrade process to the ChatGPT Plus plan. You will see a message as shown in the screenshot below.
Do ChatGPT Plus members experience errors too?
The most common errors encountered by users with a standard ChatGPT membership are: “too many requests in one hour” and “ChatGPT is at capacity right now.” Having a ChatGPT Plus membership does not necessarily mean that you will never encounter errors. However, since you have more resources than standard users, the likelihood of encountering errors is still lower.
Can Plus members use the GPT-4 model?
On March 14th, 2023, OpenAI announced its latest model, GPT-4. As of now, only members with access to ChatGPT Plus are able to utilize this more powerful model.
How to create a ChatGPT account
ChatGPT is one of the most popular applications of recent times. Moreover, its success and capabilities have been taken to the next level with the release of the GPT-4 model on May 14, 2023. This article is prepared to explain how to create a new account to log in to ChatGPT.
Creating ChatGPT account
Step 1: Head to chat.openai.com/auth/login address to get started.
You may encounter the error ‘ChatGPT is at capacity right now’ at this address. This means that the ChatGPT servers are experiencing high traffic. Please wait for a little and try opening the same address again.
Step 2: Click the Sign-Up button.
You will come across 2 different buttons: Log in and Sign up. Click on the Sign-up button to create an account.
Step 3: Enter your email address and click on the Continue button.
Be careful to enter a valid email address because you will be asked to verify this email in later stages.
Also, note that you can sign up through your Microsoft or Google accounts. In order to do that, simply click on the corresponding button located below. You will be directed to another window to sign in. Skip to Step 6 of this article after you’ve finished signing in with Google or Microsoft.
Step 4: Create a password and click on the Continue button.
Your password must be at least 8 characters in length.
Step 5: Verify your email address.
ChatGPT will send an email to your inbox. Open the link that verifies your email address.
If you didn’t receive the email, click on “resend email” after making sure you’ve entered the correct address.
Step 6: Enter your first and last names
ChatGPT will ask for your first and last name. Type them in the corresponding boxes and click on the Continue button.
Step 7: Enter your phone number and click on Send code button
If you want to create an account to use ChatGPT, you need to verify your phone number.
You should enter a valid phone number because you will receive a verification code via SMS that you will need to enter in the following stage.
Step 8: Enter the code that has been sent to your phone
After completing this step successfully, you will be able to access ChatGPT.
Congratulations! You have completed creating a ChatGPT account.
Is creating ChatGPT account free?
Creating a ChatGPT account is completely free. However, you can upgrade your account to the paid ChatGPT Plus, which offers some privileged options.
Do you have to create a ChatGPT account?
Yes. If you want to access ChatGPT, you have to have an account.
Do I have to verify my phone number when creating an account?
Yes. ChatGPT requires you to verify your phone number when creating an account. Even if you use Microsoft or Google account, it is mandatory to verify your phone number.
How to Login ChatGPT?
If you created an account, you can easily log in to ChatGPT by following the steps on our ChatGPT login post.
How to Login ChatGPT With Google Account
To use ChatGPT, we need an account. However, you don’t have to recreate this account. You can also login to ChatGPT with your existing Google or Microsoft account and keep enjoying ChatGPT’s great features.
What’s the best option for logging in to ChatGPT
There is no single best option. However, If you are going to use ChatGPT frequently, it is a best practice to always log in with the same account. Because the previous conversations in your logged-in account are saved. This way, you can access your previous conversations from the left window and continue your communication with ChatGPT from this conversation history whenever you want.
Why you should choose logging in with your Google account
If you already have a Gmail account and don’t want to create a new account on ChatGPT, you can choose this method.
Do we need a phone number if we sign in to ChatGPT with a Google account?
Yes, we do. Regardless of the method used to sign in, ChatGPT requires you to enter and verify a phone number only once. In other words, if you are thinking of using a Google account to avoid entering a phone number, unfortunately, it will not work.
Login to ChatGPT with your Google account
Step 1: Open ChatGPT in your web browser. Click log in.
Step 2: Click on the “Continue with Google” button.
Step 3: It will direct you to the Gmail page. Sign in by entering your account name and password.
Step 4: After signing in to your Gmail account, you will be redirected to the ChatGPT page, and you will be asked for a phone number to verify.
Step 5: After you type your phone number, click “Send code” button. You will be asked to enter the verification number that you received on the phone number you provided.
Congratulations! You have successfully logged in to ChatGPT with your Google account.
How to Login ChatGPT with Phone Number
It is unfortunately not possible to login to ChatGPT with only your phone number. To use ChatGPT, you can create an account using an email address and phone number, or log in using your Google or Microsoft account. You can find more details in the rest of our article.
Can I Login ChatGPT By Using My Phone Number?
No, ChatGPT only allows you to log in using your email address. However, this doesn’t necessarily mean you don’t need your phone number. If you are creating a new account, you will be expected to verify both your email address and phone number.
How many different ways are there to log in to ChatGPT?
- You can log in by creating a new account.
- You can log in via your Google account.
- You can log in via your Microsoft account.
Do I need a phone number to log in to ChatGPT?
The short answer is yes! If you want to log in to ChatGPT by creating a new account, you will be expected to verify both your email address and phone number. On the other hand, if you want to login by using your Google or Microsoft account, you are still asked to verify your number.
If I don’t have a phone number, how can I log in to ChatGPT?
ChatGPT requires you to verify your phone number while signing up for a new account.
If you think using a Microsoft or Google account as an alternative does not require the use of a phone, you are mistaken. Even if you try to log in with your Microsoft or Google account, you will still be asked to verify your phone number after you have verified that you own the account.
How to Login ChatGPT With Microsoft Account
We need an account to be able to use ChatGPT. We can create a new account using our email address, use our existing Google account, or log in with our Microsoft account. Today, we will talk about how to login to ChatGPT with your Microsoft account
Login to ChatGPT With Microsoft Account
Before we begin, let’s make sure you have a Microsoft account. If you don’t, you can create one by visiting the Microsoft account creation page. Once you have a Microsoft account, you can use it to sign in to various Microsoft services, including ChatGPT.
Now that you have a Microsoft account, follow these steps to log in to ChatGPT:
Step 1: Open ChatGPT in your web browser. Click log in.
Step 2: Click on the “Continue with Microsoft Account” button.
Step 3: It will direct you to the Microsoft page. Enter your Microsoft email address and password and click on “Sign in.”
Step 4: You will be redirected to the ChatGPT page, and you will be asked for a phone number to verify.
Step 5: After you type your phone number, click “send code” button. You will be asked to enter the verification number that you received on the phone number you provided.
Congratulations! You have successfully logged in to ChatGPT with your Microsoft account. You can now access all the features and functionalities of ChatGPT using your Microsoft account.
How to Use ChatGPT to Write Your Cover Letter
Writing a cover letter can be a daunting task, especially if you’re not sure where to start or what to include. However, with the help of artificial intelligence, such as ChatGPT, the process can be much simpler and less stressful. In this article, we will guide you on how to use ChatGPT to write your cover letter.
Starting to use ChatGPT to write your cover letter
The first step in writing your cover letter using ChatGPT is to have a clear understanding of the purpose of your cover letter. A cover letter is a document that accompanies your resume and is sent to potential employers. Its purpose is to introduce yourself, highlight your qualifications, and explain why you’re the best candidate for the job. Your cover letter should be tailored to the specific job you’re applying for and showcase your skills and experience.
Now that you have a clear understanding of the purpose of your cover letter, you can start using ChatGPT to help you write it
Step 1: Go to the ChatGPT website.
Step 2: Start a new conversation and type in “Help me write my cover letter.”
Step 3: It will ask you a series of questions to better understand your experience, skills, and the job you’re applying for. Answer the questions as honestly and accurately as possible.
Step 4: ChatGPT will then generate a draft cover letter for you based on your responses to the questions. You can make any necessary edits or changes to the letter to make it more personalized and tailored to the job you’re applying for.
Step 5: Once you’re satisfied with the letter, you can copy and paste it to download it in a variety of formats, including Word and PDF.
Congratulations! You have successfully used ChatGPT to write your cover letter. By following these simple steps, you can save time and reduce stress when writing your cover letter
Using ChatGPT Prompts to Write Your Cover Letter
Using ChatGPT can be a great way to generate ideas for your cover letter and make the process easier. Here are some of the best ChatGPT prompts to use for getting help when writing cover letters:
- “Please help me write a cover letter for [insert job title].” This prompt will provide ChatGPT with the specific job you’re applying for, allowing it to generate a more tailored cover letter for you.
- “What are the most important skills to highlight in a cover letter for [insert industry or job title]?” This prompt will give you ideas on which skills to focus on in your cover letter, which can be especially helpful if you’re new to the industry.
- “Can you give me an example of a great opening sentence for a cover letter?” This prompt will provide you with a sample opening sentence that you can use to grab the reader’s attention and make a great first impression.
- “What are some common mistakes to avoid in a cover letter?” This prompt will help you identify potential pitfalls in your cover letter and ensure that you’re presenting yourself in the best possible light.
- “How can I highlight my relevant experience in a cover letter?” This prompt will give you tips on how to showcase your experience in a way that’s relevant to the job you’re applying for and demonstrates your qualifications.
By using these ChatGPT prompts, you can make the cover letter writing process more efficient and effective, ensuring that you present yourself in the best possible light to potential employers.
Writing a cover letter can be a challenging task. But with the help of AI technology like ChatGPT, the process can be much easier and less time-consuming.
By following the steps outlined in this article, you can create a compelling cover letter that showcases your skills and experience and increases your chances of landing your dream job. Remember to always tailor your cover letter to the specific job you’re applying for, and highlight your relevant skills and experience.
When ChatGPT Was Released: A Look Back
The release of ChatGPT was a significant milestone in the field of artificial intelligence. Developed by OpenAI, ChatGPT is a natural language processing model that can generate text based on the context it is given. In this blog post, we will explore the entry, progress, and result of ChatGPT’s release and its impact on the AI landscape.
ChatGPT Release Date
ChatGPT was released in November 30, 2022 as a prototype and immediately drew attention for its ability to provide detailed and articulate answers across various domains.
The History Behind ChatGPT
The idea for ChatGPT began in 2018 when OpenAI released the first version of the GPT (Generative Pretrained Transformer) model. GPT was a revolutionary model in natural language processing that could generate human-like text by predicting the next word in a given sentence. Building on this success, OpenAI developed ChatGPT.
The first GPT model, GPT-1, was released in 2018. It was a language model trained on a vast corpus of data from the internet, including books, articles, and websites. The model was pre-trained on this data and then fine-tuned for specific tasks such as language translation, summarization, and question-answering.
GPT-1 was a significant advancement in natural language processing, but it was limited in its capabilities. It had a relatively small number of parameters and was not as effective at generating coherent text as later models.
The second model in the series, GPT-2, was released in 2019 and made significant improvements over its predecessor. It was trained on an even larger corpus of data and had over ten times the number of parameters as GPT-1. GPT-2 was capable of generating highly coherent and grammatically correct text, and it was even able to generate human-like responses to questions and prompts.
However, GPT-2 was also controversial due to its potential misuse for generating fake news and propaganda. In response, OpenAI initially limited the release of the model and only made a smaller version available to the public.
The most recent model in the series, GPT-3, was released in 2020 and is the largest and most powerful GPT model to date. It has over 175 billion parameters, making it one of the largest neural networks ever created. GPT-3 is capable of generating highly sophisticated and nuanced text and has been used for a wide range of applications, from language translation to chatbots and even poetry.
The GPT-4 model has not been released yet, but it is planned to be launched within a few months. Although the exact details of the GPT-4 model have not been released yet, it is expected to be a significant improvement over the previous models in terms of size, performance, and capabilities
ChatGPT was built on top of GPT-3 model. When ChatGPT was released in 2022 November, it was immediately met with widespread interest and excitement. Developers, researchers, and tech enthusiasts alike recognized the potential of this new model to revolutionize the way we interact with machines and AI. ChatGPT promised to unlock new possibilities for chatbots, virtual assistants, and other AI-powered applications.
Can ChatGPT Draw Images?
Artificial intelligence has made significant advancements in recent years, and one of the most impressive AI models is ChatGPT. It is a natural language processing model that can write text and perform several other tasks. But, can ChatGPT draw images?
ChatGPT is essentially a model designed for language processing, meaning that it has been trained to comprehend and produce text based on the input it receives. However, it is not specifically designed to handle visual data such as images or videos. Despite this, ChatGPT does possess the capability to perform other tasks beyond language processing, including drawing images. However, it is important to note that this drawing function may not be what one would expect from a traditional image generation tool.
Asking ChatGPT to Draw Normal Images
As you can see in the example below, even when you ask ChatGPT to draw a simple circle for you, it refuses your request and tells you how to draw it instead.
Asking ChatGPT to Draw ASCII Images
One way to request ChatGPT to draw images is by asking it to produce an ASCII image.
What is ASCII?
ASCII stands for American Standard Code for Information Interchange. It is a character encoding system that assigns a unique number to each letter, digit, and symbol on the keyboard. It was originally developed in the 1960s to standardize the way computers represent text data. ASCII uses 7 bits to represent each character, allowing for a maximum of 128 different characters. While ASCII has largely been replaced by Unicode, it remains a popular format for generating simple, text-based images.
You can see how it responded when I asked it to do the same request using ASCII in the example below.
Asking ChatGPT to Draw SVG Images
Another way to request ChatGPT to draw images is by asking it to produce an SVG image.
What is SVG?
SVG stands for Scalable Vector Graphics. It is a vector image format that uses XML to describe the graphic elements. Unlike raster images, such as JPEG or PNG, SVG images are scalable, meaning that they can be resized without losing quality. SVG images are also editable, making them a popular choice for web graphics and logos.
Below, you can see the response ChatGPT gave me when I asked it to draw the same circle in SVG format. As you can understand, this is not actually an image but represents the vector code of the image that has been drawn. To view this image, we can use any online SVG viewer tool on the internet.
In the screenshot below, you can see the image I got when I pasted the SVG code provided by ChatGPT into an online viewer tool.
In conclusion, while ChatGPT is primarily a language model, it can also create simple drawings using ASCII and SVG formats. While the ASCII format is limited to basic shapes and line drawings, SVG allows for more complex images that can be scaled up or down without losing resolution. By using ChatGPT’s drawing capabilities, developers can create interactive applications that respond to user input with dynamic images. Additionally, ChatGPT can generate SVG code for web-based applications, allowing developers to quickly create dynamic images for their websites or apps.