// Creating a canvas
// Getting the context
// Drawing abstract line patterns in 6 squares of 6x6 cm on an A4 paper
// Square 1
ctx.fillStyle = '#FFD700'; // Set color to gold
ctx.fillRect(50, 50, 100, 100); // Drawing the first square
ctx.strokeStyle = '#FF4500'; // Set stroke color to orange
ctx.lineWidth = 4;
ctx.beginPath();
ctx.moveTo(50, 50);
ctx.lineTo(150, 50);
ctx.lineTo(150, 150);
ctx.lineTo(50, 150);
ctx.closePath();
ctx.stroke(); // Drawing a zigzag line pattern in first square
// Square 2
ctx.fillStyle = '#87CEEB'; // Set color to sky blue
ctx.fillRect(200, 50, 100, 100); // Drawing the second square
ctx.strokeStyle = '#800080'; // Set stroke color to purple
ctx.lineWidth = 6;
ctx.beginPath();
ctx.moveTo(200, 50);
ctx.lineTo(250, 100);
ctx.lineTo(300, 50);
ctx.lineTo(250, 150);
ctx.lineTo(200, 100);
ctx.closePath();
ctx.stroke(); // Drawing a mixed line pattern in second square
// Square 3
ctx.fillStyle = '#7FFF00'; // Set color to chartreuse
ctx.fillRect(350, 50, 100, 100); // Drawing the third square
ctx.strokeStyle = '#FF1493'; // Set stroke color to deep pink
ctx.lineWidth = 3;
ctx.beginPath();
ctx.moveTo(350, 50);
ctx.lineTo(450, 50);
ctx.lineTo(450, 150);
ctx.lineTo(350, 150);
ctx.lineTo(400, 100);
ctx.closePath();
ctx.stroke(); // Drawing a variation line pattern in third square
// Square 4
ctx.fillStyle = '#FFA07A'; // Set color to light salmon
ctx.fillRect(50, 200, 100, 100); // Drawing the fourth square
ctx.strokeStyle = '#008000'; // Set stroke color to green
ctx.lineWidth = 5;
ctx.beginPath();
ctx.moveTo(50, 200);
ctx.lineTo(150, 200);
ctx.lineTo(100, 300);
ctx.lineTo(50, 300);
ctx.lineTo(150, 300);
ctx.closePath();
ctx.stroke(); // Drawing a horizontal line pattern in fourth square
// Square 5
ctx.fillStyle = '#FFFF00'; // Set color to yellow
ctx.fillRect(200, 200, 100, 100); // Drawing the fifth square
ctx.strokeStyle = '#0000FF'; // Set stroke color to blue
ctx.lineWidth = 2;
ctx.beginPath();
ctx.moveTo(200, 200);
ctx.lineTo(250, 250);
ctx.lineTo(200, 300);
ctx.lineTo(250, 300);
ctx.lineTo(300, 250);
ctx.lineTo(250, 200);
ctx.closePath();
ctx.stroke(); // Drawing a mixed line pattern in fifth square
// Square 6
ctx.fillStyle = '#FF69B4'; // Set color to hot pink
ctx.fillRect(350, 200, 100, 100); // Drawing the sixth square
ctx.strokeStyle = '#800000'; // Set stroke color to maroon
ctx.lineWidth = 4;
ctx.beginPath();
ctx.moveTo(350, 200);
ctx.lineTo(450, 200);
ctx.lineTo(400, 300);
ctx.lineTo(350, 300);
ctx.lineTo(450, 300);
ctx.closePath();
ctx.stroke(); // Drawing a vertical line pattern in sixth square
// That's a funky abstract art piece on an A4 paper with 6 unique squares!
// Hope you enjoy the randomness of these patterns!
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.
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.
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.
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!
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.
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.
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 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.