Skip to content

Latest commit

 

History

History
90 lines (63 loc) · 2.1 KB

test.md

File metadata and controls

90 lines (63 loc) · 2.1 KB

Demonstration markdown file

[toc]

The remainder of this file's just a nice internal reference to mess about with various markdown features, both to remember they exist and to benchmark later renderers.

Reminder to future self - cmd + shift + f on chrome will toggle cleaner view for tabs and stuff.

Smaller features

A checklist:

  • an unchecked item
  • a checked item

Это предложение на русском, чтобы убедиться, что оно работает.


Links: A web link and an internal link, and a promise to be fulfilled later.


a multi-line quote.


Three very cool emojis: 👉😎👉

Larger features

Tables

table test
cell A cell B
cell C cell D

A code-block of code

vec3 render(vec3 pos, vec3 dir, vec2 seed){
    vec3 summed = vec3(0.0);
    vec3 factional = vec3(1.0);
	
    for(int i=0;i<DEPTH;i++){
        DistIden ray = raycast(pos, dir, FAR_PLANE);
        // fall out criteria
        if(ray.iden == SKY_MAT) {
           if(i==0) return skyColour(dir);
           break;
        }
        //update normal and pos
        pos += ray.dist * dir;
        vec3 nor = calcNormal(pos);
        pos += nor * EPSILON1; 

        // loop unpacks to surface_1(direct_1 + surface_2(direct_2 + surface_3(direct_3 + ... ) ) )
        factional *= renderMaterial(ray.iden);
        summed += factional * worldLighting(pos, nor, seed);
        dir = cosDir_tuv(nor, seed);
    }
    return summed;
}

An equation

$\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }$

Formatting uses katex.

Lists

Some elements

  1. item
  2. item
  • item
  • item

Images:

Local reference

My dog (tijk) on a hike last Saturday.

Web reference

some spheres