Creative Coding
I have developed a strong interest in creative coding, particularly using p5.js, a JavaScript library designed for visual and interactive art. It is widely used by artists, designers, and programmers to explore the intersection of art, mathematics, and computation.
Using p5.js, I developed a program that converts images into ASCII art generated from user-provided text.
P5js Editor
The program allows users to input both an image and a custom text string. The image is analyzed for brightness values, and the program reconstructs the image by placing characters from the input text in positions that correspond to the image’s light and dark areas.
Image Input
This creates a visual representation of the image entirely composed of text characters.
Image output
I went even further and programmed the software to export the images as svg's. This allows me to program machines such as CNC's, 3D printers and pen plotters to draw the image. For this instance I used my Unnatek pen plotter.
Image plotted on paper