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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4754 - (download) (annotate)
Sat Oct 15 22:58:20 2016 UTC (2 years, 8 months ago) by jhr
File size: 327 byte(s)
  add bug test
#version 2

int sizeX = 640;
int sizeY = 480;

field#0(2)[] init = tent ⊛ load_image("data/life-breeder.nrrd");

strand cell (vec2 pos0, int val0) {

    output int val = val0;

    update {
        stabilize;
    }
}

create_array {
  cell ([ii, jj], 1 if init([ii,jj]) > 0.5 else 0)
| jj in 0..sizeY-1, ii in 0..sizeX-1
}


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