Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Source cleanup

  • Loading branch information...
commit 4d7bb391755ff9a2fe1e7dfee158ad406f16235e 1 parent a1027b7
Cédric Soulas authored September 23, 2011

Showing 1 changed file with 1 addition and 12 deletions. Show diff stats Hide diff stats

  1. 13  src/main.opa
13  src/main.opa
@@ -38,7 +38,7 @@ canvas_width = 600.
38 38
 canvas_height = 450.
39 39
 
40 40
 @server
41  
-surface = (%% Cairo.create_surface %%)(Int.of_float(canvas_width),Int.of_float(canvas_height)) 
  41
+surface = (%% Cairo.create_surface %%)(Int.of_float(canvas_width),Int.of_float(canvas_height))
42 42
 context = (%% Cairo.create %%)(surface)
43 43
 
44 44
 
@@ -104,14 +104,3 @@ server = Server.simple_server(urls)
104 104
 
105 105
 @server
106 106
 atoms_sess2 : channel(list(line)) = SessionBuffer.make_send_to(Session.make_callback(l -> NetworkBuffer.broadcast(l,atoms_network)),250)
107  
-
108  
-// @server
109  
-// color_random()=
110  
-//   r()=Random.int(255)
111  
-//   {r=r() g=r() b=r() a=255}
112  
-// @server
113  
-// _ = Scheduler.timer(100, ->
114  
-//     rand(size) = Random.int(Int.of_float(size))
115  
-//     rand_dim() = {x_px=rand(canvas_width) y_px=rand(canvas_height)}
116  
-    
117  
-//     Session.send(atoms_sess2,[(rand_dim(), rand_dim(), color_random(), Random.int(50))]))

0 notes on commit 4d7bb39

Please sign in to comment.
Something went wrong with that request. Please try again.