Vectors 101 – Shadertoy Demos

This is the basics of the Dot and Cross products explained, including what to use them for and some linear algebra and matrices compiled into shadertoy examples to view. They will be coming on a bi-weekly basis.


Click the images below to load the pages.
Read the comments and uncomment the code lines block by block.

Use the compile button after changing code.


THE DOT PRODUCT IN 2D

THE DOT PRODUCT IN 3D

TRIGONOMETRY ON THE UNIT CIRCLE

THE CROSS PRODUCT

Matrices

Leave a comment