I have created this software process that generates random organic structures with vegetal appearance.
Nature and biology always inspire me. That is why I have been taking photos of flowers for so many years.
Vegetal structures look very interesting to me. I like to analyse them from a mathematical point of view so I can regenerate them in the computer. Also I wanted to provide a clean, ethereal look to these. I want them to bring you harmony and peace.
In the final result I am not looking for replicating hundred percent the reality. Instead I use these structures as inspiration in order to build something I appreciate as beautiful. I like that the maths can be observed in the final piece.
I want to encourage anyone seeing my works to appreciate the beauty of nature and maths when they coexist.
In order to create them, I made extensive use of trigonometry and vectors.
The output is resolution independent resulting in great flexibility.
I want to make a very simple thing. Create a square and rotate it 45 degrees and then mask it with another square...
I don't want to do it using PImages or raster images in general; I want it to be purely vectorial (for PDF export not containing images), and only using rect()
How can I do this? I have seen a way to do it with the geomerative library but the result is broken when you magnify it.
The toxi library apparently has also something (SutherlandHodgemanClipper). Does processing include something natively to do this kind of tasks? In actionscript 3 was super easy to create advanced masks not only with bitmaps!
Couldn't find it here in the forum or in the processing documentation!
Let's suppose I want to do always the same things inside of my keyPressed handler and, therefore, I want to share the code inside of the handler among sketches:
void keyPressed() {
if (keyCode==32) {
//do always same stuff
}
}
what would be the best way do do this? create a class with a static method an put it inside of the libraries folder?
Hello; I´ve been trying to find a solution for this question before asking.
I have a couple of interesting algoritms and I want to print them out. Everything is fine, I can currently export png with transparency, which is really nice.
But I was wondering if is possible to export a tiff file with layers, so I can open it in photoshop.
The idea is to say, layer 1 = PImage1, layer2 = PImage2 and so on.