# SCM Repository

# View of /trunk/test/unicode-cheatsheet.diderot

Parent Directory | Revision Log

Revision

File size: 782 byte(s)

**2636**- (**download**) (**annotate**)*Tue May 27 16:18:36 2014 UTC*(5 years ago) by*jhr*File size: 782 byte(s)

Merging changes from vis12 branch (via staging). The main change is the new syntax for inputs (especially image inputs).

/* useful unicode characters for Diderot ⊛ convolution, as in field#2(3)[] F = bspln3 ⊛ image("img.nrrd"); LaTeX: \circledast is probably typical, but \varoast (with \usepackage{stmaryrd}) is slightly more legible × cross product, as in vec3 camU = normalize(camN × camUp); LaTeX: \times π Pi, as in real rad = degrees*π/360.0; LaTeX: \pi ∇ Del, as in vec3 grad = ∇F(pos); LaTeX: \nabla • dot product, as in real ld = norm • lightDir; LaTeX: \bullet, although \cdot more typical for dot products ⊗ tensor product, as in tensor[3,3] Proj = identity[3] - norm⊗norm LaTeX: \otimes ∞ Infinity, as in output real val = -∞; LaTeX: \infty */ strand blah (int i) { output real out = 0.0; update { stabilize; } } initially [ blah(i) | i in 0..0 ];

root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |

Powered by ViewVC 1.0.0 |