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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/new-tests/mandelbrot.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/new-tests/mandelbrot.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4489, Sat Sep 3 00:32:03 2016 UTC revision 4490, Sat Sep 3 01:10:16 2016 UTC
# Line 9  Line 9 
9  // unu quantize -b 8 -i rgb.nrrd -o mandel.png  // unu quantize -b 8 -i rgb.nrrd -o mandel.png
10    
11  // Global definitions  // Global definitions
12  int reso = 2000;  input int reso = 2000;
13  int maxiter = 2000;  input int maxiter = 2000;
14  vec2 center = [-1.2, -0.3]; // [0.0,0.0] for whole thing  vec2 center = [-1.2, -0.3]; // [0.0,0.0] for whole thing
15  real fov = 0.15; // 2.0 for whole thing  real fov = 0.15; // 2.0 for whole thing
16    
# Line 35  Line 35 
35  }  }
36    
37  // Strand initialization  // Strand initialization
38  grid (2) { mandel([lerp(center[0]-fov, center[0]+fov, 1.0, real(crIdx), real(reso)),  initially [ mandel([lerp(center[0]-fov, center[0]+fov, 1.0, real(crIdx), real(reso)),
39                      lerp(center[1]-fov, center[1]+fov, 1.0, real(ciIdx), real(reso))])                      lerp(center[1]-fov, center[1]+fov, 1.0, real(ciIdx), real(reso))])
40            | ciIdx in 1..reso, crIdx in 1..reso }            | ciIdx in 1..reso, crIdx in 1..reso ];
41    
42    //grid (2) { mandel([lerp(center[0]-fov, center[0]+fov, 1.0, real(crIdx), real(reso)),
43    //                    lerp(center[1]-fov, center[1]+fov, 1.0, real(ciIdx), real(reso))])
44    //        | ciIdx in 1..reso, crIdx in 1..reso }

Legend:
Removed from v.4489  
changed lines
  Added in v.4490

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