Personal Website of Joseph Coffa

A portfolio for work, and a tech blog for fun

Katex  [draft]

Example 1 $$ \begin{array} {lcl} L(p,w_i) &=& \dfrac{1}{N}\Sigma_{i=1}^N(\underbrace{f_r(x_2\rightarrow x_1 \rightarrow x_0)G(x_1\longleftrightarrow x_2)f_r(x_3\rightarrow x_2 \rightarrow x_1)}_{sample\, radiance\, evaluation\, in\, stage2} \\\\\\ &=& \prod_{i=3}^{k-1}(\underbrace{\dfrac{f_r(x_{i+1}\rightarrow x_i\rightarrow x_{i-1})G(x_i\longleftrightarrow x_{i-1})}{p_a(x_{i-1})}}_{stored\,in\,vertex\, during\, light\, path\, tracing\, in\, stage1})\dfrac{G(x_k\longleftrightarrow x_{k-1})L_e(x_k\rightarrow x_{k-1})}{p_a(x_{k-1})p_a(x_k)}) \end{array} $$ Example 2 $$ \begin{array} {lcl} L(p,w_i) &=& \dfrac{1}{N}\Sigma_{i=1}^N(\underbrace{f_r(x_2\rightarrow x_1 \rightarrow x_0)G(x_1\longleftrightarrow x_2)f_r(x_3\rightarrow x_2 \rightarrow x_1)}_{sample\, radiance\, evaluation\, in\, stage2} \\\\\\ & & \prod_{i=3}^{k-1}(\underbrace{\dfrac{f_r(x_{i+1}\rightarrow x_i\rightarrow x_{i-1})cos\theta_{i\rightarrow i-1}}{p_w(x_i\rightarrow x_{i-1})}}_{stored\,in\,vertex\, during\, light\, path\, tracing\, in\, stage1})\dfrac{cos\theta_{k\rightarrow k-1}L_e(x_k\rightarrow x_{k-1})}{p_w(x_k \rightarrow x_{k-1})p_a(x_k)}) \end{array} $$ Example 3 $$\int_{-\infty}^{\infty} e^{-x^2} dx$$ $${a}^{b} - \overbrace{c}^{d}$$ $$\underbrace{a}_{b} - \underbrace{c}_{d}$$ $$ \begin{aligned} equation &= 16 \\ other &= 26 + 13 \end{aligned} $$ $$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} $$

August 30, 2023 · 1 min · 109 words · Joseph Coffa

Markdown Test  [draft]

Retrieved from a random google search because I couldn’t be bothered to type all this out myself. An h1 Header Paragraphs are separated by a blank line. 2nd paragraph. Italic, bold, and monospace. Itemized lists look like: this one that one the other one You can use 3 dashes—which is quite an elegant solution—to insert an em-dash. Block quotes are written like so. They can span multiple paragraphs, if you like....

August 30, 2023 · 3 min · 437 words · Joseph Coffa

C Is Great  [draft]

Oh boy, I sure do love writing C code! I Hope I Don’t Encounter Any Buffer Overflows! 1 2 3 4 int main(void) { char buf[10] = "Hi, World"; buf[10] = '!'; } Ah, of course. I Love Leaking Memory 1 2 3 4 5 6 7 8 9 10 11 12 13 #include <stdlib.h> int main(void) { int size = 1000; while (size >= 1) { if (!malloc(size)) { size /= 10; } } return EXIT_SUCCESS; // :) } Hey at least we aren’t Java 1 2 3 4 5 6 7 8 package master; //package main; public class Master { public static void main(String[] args) { System....

August 24, 2023 · 1 min · 189 words · Joseph Coffa

Lorem Ipsum  [draft]

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus accumsan, libero in imperdiet consectetur, est nulla varius erat, a placerat tortor felis vel libero. Ut congue lectus libero, non consequat lorem gravida in. In et venenatis sapien. Vestibulum vitae bibendum lectus. Maecenas elementum, enim id luctus facilisis, velit mauris tincidunt erat, vel imperdiet metus massa id turpis. Etiam ut luctus libero. Vivamus vitae ullamcorper dui, sed facilisis lacus. Phasellus ultrices tempus quam vel scelerisque....

August 21, 2023 · 2 min · 300 words · Joseph Coffa