Project ”Space Walk”
UFO increase it´s size ⇒ Left Mouse click
UFO Decrease it´s size to normal ⇒ Right Mouse click
Red Light inside the UFO ⇒Space Keyboard press
Move Galaxy and UFO around the stage ⇒ Mouse Click and Drag
Source code: Space_Walk planetClass starClass
Built with Processing
1. One big Sphere (grid) –shape transforms in random color stroke.
2. Six Small planets (solar system) Every planet is an object, a
member of a Planet class. If cursor Hand is pressed - all small Galaxy
planets and UFO can be dragged around the stage.
3. UFO (3D lines) x, y rotation.
If Mouse is Pressed- its size increases and moves to a new position.
When mouse button is released- UFO goes back to its original place and size.
If key is pressed, then red ball appears inside of the UFO.
4. Text: A long long time ago in a galaxy far far away..” text
appear flat in the center of the screen P3D with alpha stroke, then
rotateX and decrease size to “0” (flying away through the galaxy).
5. Stars: flashing and moving ellipses with random radius on the
black background.