624
edits
(Created page with "= Star Trails = Inspired by photos and videos of star trails my aim was to recreate the look of these in an interactive processing sketch. == Short Description == In this versi...") |
WSebastian (talk | contribs) m (→PROGRAM) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= | == STAR TRAILS // [[Sebastian Wolf|SEBASTIAN WOLF]] == | ||
<div style="float:right;"><videoflash type=vimeo>34606956|500|281</videoflash></div> | |||
<div style="width:420px"> | |||
Inspired by photos and videos of star trails my aim was to recreate the look of these in an interactive processing sketch. | Inspired by photos and videos of star trails my aim was to recreate the look of these in an interactive processing sketch. | ||
In this version of the code you are able to randomly add new stars and show/hide/fade their trails, and switch to »Vortex Mode« | In this version of the code you are able to randomly add new stars and show/hide/fade their trails, and switch to »Vortex Mode« | ||
</div> | |||
<br clear="all" /> | |||
== Implementation == | == Implementation == | ||
Line 12: | Line 16: | ||
With the function moveSystem(int mode) the coordinate system can be moved, thereby new motion patterns can be created. The patterns can be selected via the MODE value. | With the function moveSystem(int mode) the coordinate system can be moved, thereby new motion patterns can be created. The patterns can be selected via the MODE value. | ||
== | == Program == | ||
<syntaxhighlight lang=" | [[Image:Processing_einfuehrung_final_sebastian.jpg|left]] | ||
<br clear=all /> | |||
<syntaxhighlight lang="Java" highlight="3,4,5" float seg = 0;> | |||
// import processing.opengl.*; | // import processing.opengl.*; | ||
Line 169: | Line 176: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
edits