Assignment 3: OOP DESIGN

Concept & Inspiration:

For this assignment, I wanted to create the “Metatron’s Cube,” a sacred geometrical figure that has been used in various spiritual and mystical traditions throughout history. The figure is named after the biblical figure Metatron, who is said to have acted as a mediator between God and humanity. I wanted to use p5.Js to combine digital art with ancient spiritual wisdom. Here’s how this figure looks like:
What Is a Metatron’s Cube — and Why Is It Significant? - Symbol Sage

I didn’t expect that this figure would be really difficult to draw in p5.js. However, for the sake of this assignment and using the ideas of the object-oriented programming, I was able to draw set of nodes, represented as small circles, that move in circular orbits around the center of the canvas. Lines are drawn between nodes that are close enough together. The positions of the nodes are updated based on their angle around the center, which changes over time. Moreover, it allows user to interact by adding or removing nodes with mouse clicks or the backspace key, respectively. The current number of nodes and lines are displayed on the canvas for reference. I was able to draw some thing similar to the “Metatron’s Cube”.  Here’s how the final version look like:

Future Improvements:

Although, I couldn’t really achieve what I wanted to, this project gave me some idea how I can create an actual metatron’s cube using p5.js. So, obviously in future I’d like to create the actual figure. Moreover, I’d like to add meditating music in the background. I’d also like to improve some of the visual aspects of my work such as adding more colors and some objects in the background. Lastly, I think digital art is all about interactions and would like to add more interactivity features such as allowing users to control the speed or direction of the nodes and lines, or to change the color scheme in real-time using user inputs.

 

Leave a Reply