Skip to content

aknauft/Complex-Video-Transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

After watching WelchLabs' Imaginary Numbers Are Real YouTube series, I wanted my students to be able to experiment with the awesome input-output video tool.

Seriously awesome interactive

Welch created his video by stitching together several still images using OpenCV and Numpy. I went with javascript, and really wanted that live-video effect.

Turns out, still images are probably a better way to do things. There are some fascinating artifacts from using floating points which I don't have good ideas how to address, and the constant changes in a video make it hard to really focus in on how the function is transforming specific points.

But hey, it was fun, and still looks awesome!

student.js holds all the changeable pieces: set the width and height of the videos, adjust the corresponding domain/range for input/output planes; and most importantly, define a complex function to use.

Result

About

Takes a video as input to a complex function, carrying each input pixel to its output location.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published