Projeto

Geral

Perfil

Estatísticas
| Revisão:

root / processing / blacklight / Logo.pde @ 15

Histórico | Ver | Anotar | Download (887 Bytes)

1
/*
2
BLACKLIGHT v1.0
3
Project made for Mestrado de Comunicação Multimédia, Ramo Multimédia Interactivo at Departamento de Comunicação e Arte at Universidade de Aveiro.
4

    
5
Author: Nuno Simaria - nsimaria@ua.pt - #23652
6
Other workgroup members: Ana Filipa Lacerda, Daniela Rei, Renato Costa, Julien Cuenin
7
*/
8

    
9
class Logo
10
  {
11
  void setup ()
12
    {
13
    
14
    }
15
    
16
  void draw (int balance, int whites, int blacks)
17
    {
18
      
19
     //println ("drawing!");
20
     fill (255);
21
     
22
     textFont (_bold_, 48);
23
     text ("BLACK", 10, 48);
24
     text (whites, 10, 100);
25
     textFont (_regular_, 48);
26
     text ("LIGHT", 150, 48);
27

    
28
     fill (0);
29
     scale (-1, 1);
30
     textFont (_bold_, 48);
31
     text ("BLACK", -_game_.width + 10, 48);
32
     text (blacks,  -_game_.width + 10, 100);
33
     textFont (_regular_, 48);
34
     text ("LIGHT", -_game_.width + 150, 48);
35
     scale (-1, 1);
36
    }
37
  }