624
edits
WSebastian (talk | contribs) m (→PROGRAM) |
|||
| (3 intermediate revisions by the same user 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 == | ||
[[Image:Processing_einfuehrung_final_sebastian.jpg|left]] | [[Image:Processing_einfuehrung_final_sebastian.jpg|left]] | ||
<br clear=all /> | <br clear=all /> | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="Java" highlight="3,4,5" float seg = 0;> | ||
// import processing.opengl.*; | // import processing.opengl.*; | ||
edits