Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sample Lesson

As before, this content will be loaded into the lesson description.

The following sections are simply to test Markdown formatting:

  • Point 1
  • Point 2
  • Point 3
#define TAU 6

precision mediump float;

attribute vec3 color;

void main() {
  color.r = (sin(color.r * TAU) + 1.0) * 0.5;

  gl_FragColor = vec4(color, 1.0);
}

Bold text here.

Italics here too.

var gl = canvas.getContext('webgl')

function draw() {
  gl.enable(gl.DEPTH_TEST)
  gl.enable(gl.CULL_FACE)
}