...
// The 48 Laws of Power
// Law 1: Never outshine the master.
ctx.fillStyle = "#000000";
ctx.fillRect(0, 0, 512, 512);
ctx.fillStyle = "#FFFFFF";
ctx.font = "40px Arial";
ctx.fillText("Never outshine the master", 80, 100);
// Law 2: Never put too much trust in friends, learn how to use enemies.
ctx.fillStyle = "#FF0000";
ctx.beginPath();
ctx.arc(256, 256, 200, 0, Math.PI, true);
ctx.fill();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Never put too much trust in friends,", 50, 150);
ctx.fillText("learn how to use enemies.", 100, 200);
// Law 3: Conceal your intentions.
ctx.strokeStyle = "#FFFFFF";
ctx.lineWidth = 5;
ctx.beginPath();
ctx.moveTo(100, 400);
ctx.lineTo(400, 100);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "40px Arial";
ctx.fillText("Conceal your intentions", 120, 450);
// Law 4: Always say less than necessary.
ctx.fillStyle = "#0000FF";
ctx.fillRect(100, 100, 100, 300);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Always say less", 220, 200);
ctx.fillText("than necessary", 220, 250);
// Law 5: So much depends on reputation - guard it with your life.
ctx.fillStyle = "#00FF00";
ctx.fillRect(300, 100, 100, 300);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("So much depends on reputation", 30, 350);
ctx.fillText("- guard it with your life.", 100, 400);
// Law 6: Court attention at all costs.
ctx.fillStyle = "#FFFF00";
ctx.beginPath();
ctx.arc(256, 256, 150, 0, 2*Math.PI);
ctx.fill();
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Court attention at all costs", 140, 300);
// Law 7: Get others to do the work for you, but always take credit.
ctx.fillStyle = "#FF00FF";
ctx.fillRect(50, 50, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Get others to do the work", 30, 250);
ctx.fillText("for you, but always take credit.", 10, 300);
// Law 8: Make other people come to you - use bait if necessary.
ctx.fillStyle = "#00FFFF";
ctx.fillRect(312, 50, 150, 150);
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Make other people come to you", 270, 250);
ctx.fillText("- use bait if necessary.", 270, 300);
// Law 9: Win through your actions, never through argument.
ctx.strokeStyle = "#FFFFFF";
ctx.lineWidth = 10;
ctx.beginPath();
ctx.moveTo(50, 400);
ctx.lineTo(462, 400);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Win through your actions,", 200, 450);
ctx.fillText("never through argument.", 200, 500);
// Law 10: Infection: avoid the unhappy and unlucky.
ctx.fillStyle = "#FFA500";
ctx.beginPath();
ctx.arc(256, 256, 100, 0, 2*Math.PI);
ctx.fill();
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Infection: avoid the unhappy", 175, 300);
ctx.fillText("and unlucky.", 215, 350);
// Law 11: Learn to keep people dependent on you.
ctx.fillStyle = "#800000";
ctx.fillRect(50, 200, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Learn to keep people dependent", 30, 150);
ctx.fillText("on you.", 180, 200);
// Law 12: Use selective honesty and generosity to disarm your victim.
ctx.fillStyle = "#008000";
ctx.fillRect(312, 200, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Use selective honesty and", 270, 150);
ctx.fillText("generosity to disarm your victim.", 180, 200);
// Law 13: When asking for help, appeal to people's self-interest.
ctx.fillStyle = "#FF69B4";
ctx.beginPath();
ctx.moveTo(100, 256);
ctx.lineTo(412, 256);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("When asking for help,", 220, 300);
ctx.fillText("appeal to people's self-interest.", 150, 350);
// Law 14: Pose as a friend, work as a spy.
ctx.fillStyle = "#ADD8E6";
ctx.beginPath();
ctx.arc(256, 256, 50, 0, 2*Math.PI);
ctx.fill();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Pose as a friend,", 200, 200);
ctx.fillText("work as a spy.", 210, 250);
// Law 15: Crush your enemy totally.
ctx.fillStyle = "#FF4500";
ctx.beginPath();
ctx.moveTo(50, 50);
ctx.lineTo(462, 462);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Crush your enemy totally", 150, 350);
// Law 16: Use absence to increase respect and honor.
ctx.fillStyle = "#FFFF00";
ctx.fillRect(206, 206, 100, 100);
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Use absence to increase", 160, 150);
ctx.fillText("respect and honor.", 180, 200);
// Law 17: Keep others in suspended terror: cultivate an air of unpredictability.
ctx.fillStyle = "#FFA500";
ctx.beginPath();
ctx.arc(256, 256, 75, 0, 2*Math.PI);
ctx.fill();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Keep others in suspended terror:", 120, 300);
ctx.fillText("cultivate an air of unpredictability.", 80, 350);
// Law 18: Do not build fortresses to protect yourself - isolation is dangerous.
ctx.fillStyle = "#808000";
ctx.fillRect(50, 50, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Do not build fortresses to", 200, 150);
ctx.fillText("protect yourself - isolation", 180, 200);
ctx.fillText("is dangerous.", 195, 250);
// Law 19: Know who you're dealing with - do not offend the wrong person.
ctx.fillStyle = "#FFC0CB";
ctx.fillRect(312, 312, 150, 150);
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Know who you're dealing with -", 200, 450);
ctx.fillText("do not offend the wrong person.", 140, 500);
// Law 20: Do not commit to anyone.
ctx.fillStyle = "#87CEEB";
ctx.beginPath();
ctx.arc(256, 256, 125, 0, 2*Math.PI);
ctx.fill();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Do not commit to anyone.", 180, 300);
// Law 21: Play a sucker to catch a sucker - seem dumber than your mark.
ctx.fillStyle = "#FF69B4";
ctx.fillRect(100, 100, 100, 100);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Play a sucker to catch a sucker", 50, 250);
ctx.fillText("- seem dumber than your mark.", 10, 300);
// Law 22: Use the surrender tactic: transform weakness into power.
ctx.fillStyle = "#FF00FF";
ctx.fillRect(312, 100, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Use the surrender tactic:", 240, 250);
ctx.fillText("transform weakness into power.", 150, 300);
// Law 23: Concentrate your forces.
ctx.fillStyle = "#008000";
ctx.beginPath();
ctx.arc(256, 256, 175, 0, Math.PI, false);
ctx.lineTo(256, 256);
ctx.closePath();
ctx.fill();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Concentrate your forces.", 170, 350);
// Law 24: Play the perfect courtier.
ctx.fillStyle = "#FFFF00";
ctx.beginPath();
ctx.arc(256, 256, 50, 0, Math.PI, true);
ctx.fill();
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Play the perfect courtier.", 180, 300);
// Law 25: Re-create yourself.
ctx.fillStyle = "#00FFFF";
ctx.fillRect(50, 312, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Re-create yourself.", 200, 450);
// Law 26: Keep your hands clean.
ctx.fillStyle = "#800000";
ctx.fillRect(312, 312, 150, 150);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Keep your hands clean.", 190, 450);
// Law 27: Play on people's need to believe to create a cultlike following.
ctx.fillStyle = "#FFA500";
ctx.beginPath();
ctx.arc(256, 256, 100, 0, 2*Math.PI, true);
ctx.moveTo(256, 206);
ctx.lineTo(256, 306);
ctx.moveTo(206, 256);
ctx.lineTo(306, 256);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Play on people's need to", 175, 150);
ctx.fillText("believe to create a cultlike", 150, 200);
ctx.fillText("following.", 220, 250);
// Law 28: Enter action with boldness.
ctx.fillStyle = "#FF0000";
ctx.fillRect(206, 206, 100, 100);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Enter action with boldness.", 135, 350);
// Law 29: Plan all the way to the end.
ctx.strokeStyle = "#FFFFFF";
ctx.lineWidth = 10;
ctx.beginPath();
ctx.moveTo(50, 256);
ctx.lineTo(206, 256);
ctx.stroke();
ctx.beginPath();
ctx.arc(256, 256, 50, 0, Math.PI, true);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Plan all the way to the end.", 170, 300);
// Law 30: Make your accomplishments seem effortless.
ctx.fillStyle = "#0000FF";
ctx.beginPath();
ctx.arc(256, 256, 125, 0, Math.PI, true);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Make your accomplishments", 180, 350);
ctx.fillText("seem effortless.", 200, 400);
// Law 31: Control the options: get others to play with the cards you deal.
ctx.fillStyle = "#FF69B4";
ctx.fillRect(100, 100, 100, 100);
ctx.fillStyle = "#000000";
ctx.font = "30px Arial";
ctx.fillText("Control the options:", 220, 250);
ctx.fillText("get others to play with", 200, 300);
ctx.fillText("the cards you deal.", 210, 350);
// Law 32: Play to people's fantasies.
ctx.fillStyle = "#00FF00";
ctx.beginPath();
ctx.arc(256, 256, 150, 0, 2*Math.PI, true);
ctx.fill();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Play to people's fantasies.", 170, 200);
// Law 33: Discover each man's thumbscrew.
ctx.fillStyle = "#FFA500";
ctx.beginPath();
ctx.arc(256, 256, 75, 0, 2*Math.PI, true);
ctx.moveTo(256, 206);
ctx.lineTo(256, 306);
ctx.moveTo(206, 256);
ctx.lineTo(306, 256);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Discover each man's thumbscrew.", 120, 350);
// Law 34: Be royal in your own fashion: act like a king to be treated like one.
ctx.fillStyle = "#000000";
ctx.fillRect(206, 206, 100, 100);
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Be royal in your own fashion:", 120, 300);
ctx.fillText("act like a king to be treated like one.", 50, 350);
// Law 35: Master the art of timing.
ctx.fillStyle = "#FF00FF";
ctx.beginPath();
ctx.arc(256, 256, 75, 0, 2*Math.PI, true);
ctx.moveTo(256, 206);
ctx.lineTo(256, 306);
ctx.moveTo(206, 256);
ctx.lineTo(306, 256);
ctx.stroke();
ctx.fillStyle = "#FFFFFF";
ctx.font = "30px Arial";
ctx.fillText("Master the art of timing.", 180, 350);
// Law 36: Disdain things you cannot have: ignoring them is the best revenge.
ctx.fillStyle = "#FFFF00";
ctx.fillRect
These are recent AI images made by the community!
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.
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!
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.
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 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.
No.