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

SCM Repository

[diderot] View of /branches/vis12-cl/test/triv.diderot
ViewVC logotype

View of /branches/vis12-cl/test/triv.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3226 - (download) (annotate)
Thu Jul 23 11:33:34 2015 UTC (3 years, 10 months ago) by jhr
File size: 419 byte(s)
  Build improvements for documentation; merged some doc changes from vis12; fixed error
  reporting/return status when running a Diderot program.
// 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