I'm looking for a way to create a website image using just code, without the need for an actual image file or image tag. Is there a method to do this? Would I use CSS, Javascript, or HTML5 for this task? If using JavaScript to dynamically generate the image, is it advisable to do so repeatedly? I'm not sure where to start in finding information on this topic. Thank you for any guidance.
Here's an example of the type of image I want to achieve: