Here what I have tried to achieve is the random triangles like the smoky triangles experiment but trying to create a depth of field to try and get away from the 2D-ness of a lot of the other wallpapers I have seen. What I was trying to do was that depending on the 'age' of the triangle (the order the triangle was drawn onto the canvas), the older/higher the age was the more blurry it would be. So the ones in the back ground behind the others would be blurry and the ones in the front/foreground would be clean and sharp, one of my goals from the interim presentation.
Unfortunately I haven't quite been able to get it to work properly. But what I have realised is that I was taking too difficult path of coding to achieve the effect I want, the way I was doing it would have allowed me to stop processing whenever it looked nice and always have blurred triangles and non blurred triangles. I have figured out a much simpler way of doing it rather than having to make a separate new class for Triangle and storing all of the variables and then putting all of those into an ArrayList.
I thought I would have try at creating a new class myself but I think the part where I failed was using the array list which just made it all too complicated in my opinion.
I thought I would still upload it as it's part of my learning curve of how you don't actually have to have complicated coding to create stimulating images and how I was over complicating things. I'm going to go back to this way of doing it after the assignment is done though, I want to get it to work.
http://www.openprocessing.org/visuals/?visualID=24066
No comments:
Post a Comment