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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3217 - (download) (annotate)
Wed Jul 15 17:10:17 2015 UTC (4 years, 2 months ago) by cchiw
File size: 419 byte(s)
merge vis12+fem+ein
// 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);

    initially
    {
	s = t + 2.0;
    }

    update
    {
	t = t + 0.1 * (r+c);
	if (t <= 20.0)
	    continue;
        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