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 1971, Sun Jul 15 16:24:43 2012 UTC revision 1972, Sun Jul 15 19:34:26 2012 UTC
# Line 27  Line 27 
27        iter += 1;        iter += 1;
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(real(iter) - log2(log(|z|)/log(escape)));           real t = 4*log(iter - log2(log(|z|)/log(escape)));
31             /* BUG with line above (and same with "iter + -log2..."):
32             [mandel.diderot:30.24-59] Error: unable to resolve overloaded operator "-"
33               argument type is: (int * real)
34    
35             uncaught exception Fail [Fail: Error in compiling mandel.diderot]
36             raised at common/phase-timer.sml:76.50-76.52
37             raised at common/phase-timer.sml:76.50-76.52
38             raised at driver/main.sml:27.39-27.76
39             */
40           rgb = [sin(-t), cos(t), sin(t)];           rgb = [sin(-t), cos(t), sin(t)];
41           rgb = ([1.8, 1.8, 1.8] + rgb)/2.8;           rgb = ([1.8, 1.8, 1.8] + rgb)/2.8;
42           stabilize;           stabilize;

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

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