jtjwhite on Nostr: Art Of Math is a JavaScript and HTML5 canvas project which results in visual art. The ...
Art Of Math is a JavaScript and HTML5 canvas project which results in visual art. The application itself is simple and works by the browser loading and refreshing, but behind the scenes is a trigonometry algorithm which takes a random starting point, and targets a random end point, and draws a plethora of connecting and intersecting lines, which (depending upon your sense of aesthetic) produces artful visuals. Others might just see a mess, like pixie sticks being dropped.
The colors vary (only if I manually reset them, until I finish the application with something that automatically/dynamically randomizes it) as do the line style. The latter is a variation achieved by altering some parameters in the algorithm of the JavaScript file that draws on the canvas. The much larger JavaScript file contains some code blocks that I lifted from GitHub and repurposed for this feature, which the trig algo works on.
My goal is to eventually make some additional code that randomizes the algorithm and parameters in them, along with the CSS, by a user-interaction (clicking/tapping a button or something) and ability to convert to graphic file (png, jpg or gif) on demand. I’d like to offer this to the public to produce their own random “Arts Of Math” to download.
The cool thing about this is that the algorithm is set up to never allow for a duplicate image to be produced, no matter how many times the browser is loaded or refreshed — go ahead and waste your computer power and time trying to prove that wrong.
In the comment is a link to some of the works I’ve produced so far from the Art Of Math tool (which btw, I currently have to screen shot and then run the images though more effects in Adobe Photoshop and a secret app I have on my phone to make them more edgy looking like the ones in the end of this video.) I’ll add more works from time to time; there’s an email sign up form if you want to know when I pop more of these up, and a link to the tool is also there as well so you can play around with it yourself. It’s fun and even relaxing.
Also, I do sell the renderings in various print sizes.
Enough explaining, have a look if interested.
https://jtjwhite.com/art-of-math
#art #artAndTech #webProgramming #Artstr #MathArt #artOfMath #Math
The colors vary (only if I manually reset them, until I finish the application with something that automatically/dynamically randomizes it) as do the line style. The latter is a variation achieved by altering some parameters in the algorithm of the JavaScript file that draws on the canvas. The much larger JavaScript file contains some code blocks that I lifted from GitHub and repurposed for this feature, which the trig algo works on.
My goal is to eventually make some additional code that randomizes the algorithm and parameters in them, along with the CSS, by a user-interaction (clicking/tapping a button or something) and ability to convert to graphic file (png, jpg or gif) on demand. I’d like to offer this to the public to produce their own random “Arts Of Math” to download.
The cool thing about this is that the algorithm is set up to never allow for a duplicate image to be produced, no matter how many times the browser is loaded or refreshed — go ahead and waste your computer power and time trying to prove that wrong.
In the comment is a link to some of the works I’ve produced so far from the Art Of Math tool (which btw, I currently have to screen shot and then run the images though more effects in Adobe Photoshop and a secret app I have on my phone to make them more edgy looking like the ones in the end of this video.) I’ll add more works from time to time; there’s an email sign up form if you want to know when I pop more of these up, and a link to the tool is also there as well so you can play around with it yourself. It’s fun and even relaxing.
Also, I do sell the renderings in various print sizes.
Enough explaining, have a look if interested.
https://jtjwhite.com/art-of-math
#art #artAndTech #webProgramming #Artstr #MathArt #artOfMath #Math