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

SCM Repository

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

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

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

revision 1948, Sat Jul 7 04:34:11 2012 UTC revision 1970, Sun Jul 15 14:20:23 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.0*log(real(iter) - log(log(|z|)/log(escape))/log(2.0));           real t = 4.0*log(real(iter) - log2(log(|z|)/log(escape)));
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.1948  
changed lines
  Added in v.1970

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