PDF Presentation: cclabfinal
Video document: https://vimeo.com/55871747
My animal LEDs!!
Its name is SUMMER NIGHT. Though it’s fall now…
I missed Yayoi Kusama’s fireflies exhibition, so I have to make one for my own.
I put them into a transparent glass vase with a sheet of blue paper in it.
I planned to make two fireflies and a frog, but didn’t have the yellow LEDs.
My problem is that I’d like to make these LEDs blink at the same time and with different frequencies, or totally random.
But they are just blinking in a certain order now.
Here is my assignment for this week.
Actually I’m little confused about the range of LED voltage and I was not sure what resistor I should use when I was making a circuit.
But I felt excited that it seems I haven’t forgotten all about physics I learnt in high school…
Here is my github link.
Last week I meet a problem with the winter sweet sketch.
As I wrote a “for loop” statement in the class sketch to draw the flower, in order to control the amount of the petals, it doesn’t work.
The reason is that there is no “void draw” in class sketch to complete the “for loop” statement.
And this week, I found a useful library called LAYERS, which could solve my problem.
The Layer library is some kind similar with class. But the biggest different between is that each layer could be controlled separatedly if you use the layers library. Because there is also a “void draw” in each layer. Here is the link of Layers.
However, I meet new problems this week that after I used Layers library, my sketch ran quite slowly. It would take a few seconds when I clicked my mouse to draw a flower.
I made wintersweet trees for today’s assignment.
Press ‘t’ and ‘r’ to draw branches.
click mouse to draw flowers.
press ‘c’ and ‘C’ to change colors.
press ‘up’ and ‘down’ to change scales.
press’left’ and ‘right’ to change rotation.
This is my assignment for week2.
I made a film opening time counter. I used frameRate() instead of millis() or sencond() to control the time, for millis() was based on the time in my computer and would keep going. I don’t know how to control it.
Then I met a problem that after I loaded an image, the sketch freezed and the counter was inaccurate. Then I found a new function in processing.org named requestImage which can solve this problem, but it’s a little troublesome.
I want to know more about how to handle these sort of problems in a simple way.