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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s