GMU:Einführung ins Programmieren mit Processing/final/Star Trails: Difference between revisions

From Medien Wiki
mNo edit summary
Line 1: Line 1:
= Star Trails =
== Star Trails // [[Sebastian Wolf|SEBASTIAN WOLF]] ==


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.


== Short Description ==
=== Short Description ===
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«


Line 17: Line 17:
<br clear=all />
<br clear=all />


<syntaxhighlight lang="cpp">
<syntaxhighlight lang="Java" highlight="3,4,5" float seg = 0;>


// import processing.opengl.*;
// import processing.opengl.*;