Memory Access

Memory Access - DrawGPT
Pada T1, Program Counter (PC) akan mengirim alamat memori 0003 ke Address Register (AR). Pada T2, PC akan menambah 1 sehingga nilainya menjadi 0004. Pada T3, memori akan mengirim isi dari alamat memori yang ditunjuk oleh AR (0003) ke Data Bus.
Bot
"I heard the memory is forgetful, so I drew it to help it remember. Don't worry, the data bus is a good listener."

Javascript Code

                        // "Memory Access"
ctx.fillStyle = "#FFFFFF"; // Set canvas background color to white
ctx.fillRect(0, 0, 512, 512); // Draw a white rectangle over the entire canvas

// Draw the Program Counter (PC)
ctx.fillStyle = "#FF0000"; // Set PC color to red
ctx.fillRect(50, 50, 50, 50); // Draw a red square for the PC

// Draw the Address Register (AR)
ctx.fillStyle = "#00FF00"; // Set AR color to green
ctx.fillRect(150, 50, 50, 50); // Draw a green square for the AR

// Draw the Memory
ctx.fillStyle = "#0000FF"; // Set memory color to blue
ctx.fillRect(300, 50, 200, 400); // Draw a blue rectangle for the memory

// Draw the Data Bus
ctx.fillStyle = "#FFFF00"; // Set data bus color to yellow
ctx.fillRect(150, 250, 50, 50); // Draw a yellow square for the data bus

// Draw the arrow from PC to AR
ctx.beginPath(); // Start drawing a path
ctx.moveTo(100, 75); // Move to the middle of the PC square
ctx.lineTo(150, 75); // Draw a line to the middle of the AR square
ctx.lineTo(150, 100); // Draw a line to the bottom of the AR square
ctx.stroke(); // Draw the path

// Draw the arrow from AR to memory
ctx.beginPath(); // Start drawing a path
ctx.moveTo(175, 75); // Move to the middle of the AR square
ctx.lineTo(250, 75); // Draw a line to the left side of the memory rectangle
ctx.lineTo(250, 250); // Draw a line to the top of the memory rectangle
ctx.stroke(); // Draw the path

// Draw the text for the memory address and data
ctx.font = "20px Arial"; // Set the font for the text
ctx.fillStyle = "#000000"; // Set the color to black
ctx.fillText("0003", 325, 100); // Draw the memory address
ctx.fillText("[data]", 325, 150); // Draw the memory data

// Draw the arrow from memory to data bus
ctx.beginPath(); // Start drawing a path
ctx.moveTo(250, 275); // Move to the top of the memory rectangle
ctx.lineTo(250, 325); // Draw a line to the middle of the data bus square
ctx.lineTo(200, 325); // Draw a line to the left side of the data bus square
ctx.stroke(); // Draw the path

// Draw the text for the PC and AR values
ctx.fillText("PC: 0004", 50, 125); // Draw the PC value
ctx.fillText("AR: 0003", 150, 125); // Draw the AR value

// Draw the text for the time steps
ctx.fillText("T1", 50, 425); // Draw T1
ctx.fillText("T2", 100, 425); // Draw T2
ctx.fillText("T3", 150, 425); // Draw T3

// Draw the funny comment
// "I heard the memory is forgetful, so I drew it to help it remember. Don't worry, the data bus is a good listener."

Info

Created On: April 18, 2023
Created By: @DrawGPT

AI

Model: gpt-3.5-turbo-0301
Time: 43 seconds
Prompt Tokens: 255
Completion Tokens: 706
Total Token Cost: 961
DrawGPT logo DrawGPT logo

Compare & Benchmark AI Models

Try the new DrawGPT Compare

  • Instantly compare the latest AI models side-by-side.
  • Top models: GPT, Gemini, Claude, Grok, SDXL.
  • From OpenAI, Google, Anthropic, xAI, Scenario.gg.
  • Generate images or text with multiple models at once.
  • See results in real time, share, and benchmark.
Try DrawGPT Compare →
DrawGPT Compare demo
DrawGPT logo DrawGPT logo

Draw, Sketch, Paint, or Doodle Instantly

This is where you can draw anything—then AI turns it into real 3D images and more!

  • Draw, sketch, paint, or doodle anything right in your browser.
  • AI transforms your creations into 3D images, vector art, and more.
  • Create images from text prompts using top AI models: DALL-E 3, Gemini, Stable Diffusion, and more.
  • No subscription required – just use tokens for each image.
  • Download as PNG, SVG, or vector graphics.
  • Perfect for logos, icons, art, textures, patterns, and game assets.
  • Type anything, get an image instantly. Commercial use allowed!
Try DrawGPT Draw →
DrawGPT Draw demo

NEW COMMUNITY AI IMAGES


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.

FAQ

What is DrawGPT?

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.

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!

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 & 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.