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

SCM Repository

[diderot] View of /branches/fem/test/triv.diderot
ViewVC logotype

View of /branches/fem/test/triv.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2803 - (download) (annotate)
Sat Nov 8 14:29:37 2014 UTC (4 years, 9 months ago) by jhr
Original Path: branches/vis12/test/triv.diderot
File size: 359 byte(s)
  Fixed bug 031
// triv.diderot
//

real x = 2.0;

strand RayCast (int r, int c)
{
    real t = 0.0;
    real s = t + 2.0;
    output real y = 1.0;
    output real z = exp(1.5);
    output real w = erf(z);

    update
    {
	t = t + 0.1 * (r+c);
	if (t > 20.0)
	    stabilize;
    }

    /* render: output maxval */
}

initially [ RayCast(r, c) | r in 0..199, c in 0..199 ];

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