程序代写代做代考 Assessment 2 Report
Assessment 2 Report
Description of the work
In this project, my art is about night skyline which consists of mountain shape
and stars. The picture is generated in a random way and constantly changing.
Technical notes
My method to generate the mountain is as follows. For each i in [0, width], use
function noise to generate a number h, draw a vertical line with height h at
x = i. The noise function returns Perlin noise number which is more natural,
harmonic than the standard random function. It is suitable to generate the
mountain shape.
The stars are generated using arc function. Both the color and position of each
star are randomly generated using random function.
I create a class Skyline to be responsible for drawing the picture. To constantly
changing the picture, in the draw function, use the Skyline to reproduce another
different picture.
1
Figure 1:
2
Diagram
Research
The skyline picture work of other work inspires me. They most produce the
shape of buildings. I choose to produce mountain shape and stars which I think
more beautiful. The mountain shape is like a kind of wave form. I think I can
use a kind of random generator. After search the processing API, I find noise
is a good tool to do this.
Reference
http://itp.suzkirkpatrick.com/?p=231
Reflection
The resulting picture is poetic and visual pleasing. I am satisfied with what I
have done. From this project, I learn to use random generator such as noise
andrandom‘ to generate randomly changing visual art.
3
Assessment 2 Report
Description of the work
Technical notes
Diagram
Research
Reference
Reflection