2009年10月10日 星期六

HW1 - Geometric Painting with Processing

Original Painting:

Imitate with MS Paint:


Imitate with writing Processing code:


Comment:

Processing is an amazing language when I first glimpse. With simple and seldom lines of sentences, you can display artwork pieces designed in a while ago. Because it's low prerequisite literacy, they who are rookies can easily learn about it.

Surprisingly, it's a devoted to artistic ones that our department never introduced. I appreciate their fantastic dream which Casey Reas, Ben Fry(developers of Processing project), John Maeda(their mentor), and all have same will want to weave.

Although, that's really easy to learning. But there's no meaning needn't learn to. By self-study, more question will be arise than just attend in class. For computer graphics, mathematics always plays an important role.

In this choosing geometric painting, I had to try draw some semicircles. All I could come up with just using cubic bezier curve. Didn't know how it exactly work, so I got some information from wikipedia. Expectedly, it gave me lots of mathematic formula. I couldn't understand well. Consult someone mastering in this domain in some leisure days is need. Before that, I had to deal with drawing semicircle first.

After trying pixels by pixels, I found a bounded box was composed by two end points and two guidance points with width = 4r/3, length = 2r could draw a semicircle. That's just rough estimation and not being proven. But it's my only solution to this problem for now.

Processing isn't just only language but also an IDE. And its editor is the point I want to complain. Being familiar with Eclipse make me wish it can conveniently as well. Obviously, it has long way to go!

Another way is to integrate Processing's libraries into Eclipse. Office site offers tutorial about this. Any who needs can visit www.processing.org.


(Processing calls artwork piece "Scratch", and I name my comment "Murmur". In shortly 50 words(this one is over), I try to enhance my broken English writing skill. Feel sorry about any misleading word. If you are willing send feedback to me. I'll try my best to revise all mistakes. THANKS!)

沒有留言:

張貼留言