// Fort Sam Houston
// A tribute to the historic military post in San Antonio, Texas
ctx.fillStyle = "#FFD700"; // Set the canvas background color to gold
ctx.fillRect(0, 0, 512, 512); // Draw a golden rectangle as the background
// Draw the main building of Fort Sam Houston
ctx.fillStyle = "#FFF"; // Set the fill color to white
ctx.fillRect(100, 100, 300, 300); // Draw a white rectangle for the main building
// Draw the roof of the main building
ctx.fillStyle = "#8B0000"; // Set the fill color to dark red
ctx.beginPath();
ctx.moveTo(100, 100); // Start at top-left corner of the building
ctx.lineTo(250, 50); // Draw a diagonal line to the middle of the top side
ctx.lineTo(400, 100); // Draw a diagonal line to the top-right corner of the building
ctx.closePath();
ctx.fill(); // Fill the roof shape with dark red
// Draw the entrance of the main building
ctx.fillStyle = "#8B0000"; // Set the fill color to dark red
ctx.fillRect(200, 250, 100, 150); // Draw a dark red rectangle for the entrance
// Draw the windows of the main building
ctx.fillStyle = "#000"; // Set the fill color to black
ctx.fillRect(125, 150, 50, 50); // Draw a black square for the first window
ctx.fillRect(325, 150, 50, 50); // Draw a black square for the second window
ctx.fillRect(125, 250, 50, 50); // Draw a black square for the third window
ctx.fillRect(325, 250, 50, 50); // Draw a black square for the fourth window
// Draw the flagpole
ctx.strokeStyle = "#000"; // Set the stroke color to black
ctx.lineWidth = 4; // Set the line width to 4
ctx.beginPath();
ctx.moveTo(450, 120); // Start at the top of the building
ctx.lineTo(450, 20); // Draw a vertical line downwards
ctx.stroke(); // Stroke the path to draw the flagpole
// Draw the flag
ctx.fillStyle = "#0000FF"; // Set the fill color to blue
ctx.beginPath();
ctx.moveTo(450, 20); // Start at the top of the flagpole
ctx.lineTo(450, 70); // Draw a vertical line downwards
ctx.lineTo(400, 45); // Draw a diagonal line to the left
ctx.closePath();
ctx.fill(); // Fill the flag shape with blue
// Draw the stars on the flag
ctx.fillStyle = "#FFF"; // Set the fill color to white
ctx.beginPath();
ctx.moveTo(420, 30); // Start at the top-left position of the first star
ctx.lineTo(425, 45); // Draw a line to the right
ctx.lineTo(440, 45); // Draw a diagonal line downwards
ctx.lineTo(430, 50); // Draw a line to the left
ctx.lineTo(435, 65); // Draw a diagonal line upwards
ctx.lineTo(420, 55); // Draw a line to the left
ctx.lineTo(405, 65); // Draw a diagonal line upwards
ctx.lineTo(410, 50); // Draw a line to the right
ctx.lineTo(400, 45); // Draw a diagonal line downwards
ctx.closePath();
ctx.fill(); // Fill the first star shape with white
ctx.fillStyle = "#FFF"; // Set the fill color to white
ctx.beginPath();
ctx.moveTo(430, 55); // Start at the top-left position of the second star
ctx.lineTo(435, 70); // Draw a line to the right
ctx.lineTo(450, 70); // Draw a diagonal line downwards
ctx.lineTo(440, 75); // Draw a line to the left
ctx.lineTo(445, 90); // Draw a diagonal line upwards
ctx.lineTo(430, 80); // Draw a line to the left
ctx.lineTo(415, 90); // Draw a diagonal line upwards
ctx.lineTo(420, 75); // Draw a line to the right
ctx.lineTo(410, 70); // Draw a diagonal line downwards
ctx.closePath();
ctx.fill(); // Fill the second star shape with white
// Add some finishing touches
ctx.fillStyle = "#000"; // Set the fill color to black
ctx.font = "20px Arial"; // Set the font style
ctx.fillText("Fort Sam Houston", 160, 480); // Add the text "Fort Sam Houston" at the bottom
// And we're done! A masterpiece honoring Fort Sam Houston.
// Now let's celebrate with some virtual ice cream! 🍦
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.