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

SCM Repository

[diderot] Diff of /branches/vis12/test/mandel.diderot
ViewVC logotype

Diff of /branches/vis12/test/mandel.diderot

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

revision 1972, Sun Jul 15 19:34:26 2012 UTC revision 1974, Sun Jul 15 22:59:41 2012 UTC
# Line 28  Line 28 
28        if (|z| > escape) {        if (|z| > escape) {
29           // point has escaped; set continuous color from iter and radius           // point has escaped; set continuous color from iter and radius
30           real t = 4*log(iter - log2(log(|z|)/log(escape)));           real t = 4*log(iter - log2(log(|z|)/log(escape)));
          /* BUG with line above (and same with "iter + -log2..."):  
          [mandel.diderot:30.24-59] Error: unable to resolve overloaded operator "-"  
            argument type is: (int * real)  
   
          uncaught exception Fail [Fail: Error in compiling mandel.diderot]  
          raised at common/phase-timer.sml:76.50-76.52  
          raised at common/phase-timer.sml:76.50-76.52  
          raised at driver/main.sml:27.39-27.76  
          */  
31           rgb = [sin(-t), cos(t), sin(t)];           rgb = [sin(-t), cos(t), sin(t)];
32           rgb = ([1.8, 1.8, 1.8] + rgb)/2.8;           rgb = ([1.8, 1.8, 1.8] + rgb)/2.8;
33           stabilize;           stabilize;

Legend:
Removed from v.1972  
changed lines
  Added in v.1974

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