draw a green sphere spinning

Signed-off-by: Loide Verdes <loide.jesus@openbossa.org>
refactoring code

Signed-off-by: Loide Verdes <loide.jesus@openbossa.org>