Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /tests/vis15-bugs/create-probe-bug.diderot
ViewVC logotype

Annotation of /tests/vis15-bugs/create-probe-bug.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4754 - (view) (download)

1 : jhr 4754 #version 2
2 :    
3 :     int sizeX = 640;
4 :     int sizeY = 480;
5 :    
6 :     field#0(2)[] init = tent ⊛ load_image("data/life-breeder.nrrd");
7 :    
8 :     strand cell (vec2 pos0, int val0) {
9 :    
10 :     output int val = val0;
11 :    
12 :     update {
13 :     stabilize;
14 :     }
15 :     }
16 :    
17 :     create_array {
18 :     cell ([ii, jj], 1 if init([ii,jj]) > 0.5 else 0)
19 :     | jj in 0..sizeY-1, ii in 0..sizeX-1
20 :     }
21 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0