@@ -30,16 +30,16 @@ function setup() {
30
30
setInterval ( refreshFPS , 1000 ) ;
31
31
setInterval ( refreshJson , 30000 ) ;
32
32
33
- gravity = createSlider ( 0 , 2 , 0.3 , 0.01 ) ;
34
- gravity . position ( 50 , height - 50 ) ;
35
- gravity . style ( "width" , "150px" ) ;
36
-
37
33
length = createSlider ( 5 , 200 , 35 , 1 ) ;
38
- length . position ( 50 , height - 75 ) ;
34
+ length . position ( 50 , height - 50 ) ;
39
35
length . style ( "width" , "150px" ) ;
40
36
37
+ gravity = createSlider ( 0 , 2 , 0.3 , 0.01 ) ;
38
+ gravity . position ( 50 , height - 100 ) ;
39
+ gravity . style ( "width" , "150px" ) ;
40
+
41
41
showNames = createCheckbox ( "Afficher les noms" , false ) ;
42
- showNames . position ( 45 , height - 100 ) ;
42
+ showNames . position ( 45 , height - 150 ) ;
43
43
showNames . style ( "font-family" , "Arial" ) ;
44
44
showNames . style ( "color" , "white" ) ;
45
45
}
@@ -53,6 +53,11 @@ function draw() {
53
53
}
54
54
55
55
showDate ( ) ;
56
+
57
+ fill ( 255 ) ;
58
+ textSize ( 16 ) ;
59
+ text ( "Taille des trainées" , 50 , height - 55 ) ;
60
+ text ( "Force d'attraction" , 50 , height - 105 ) ;
56
61
}
57
62
58
63
function windowResized ( ) {
0 commit comments