fojcik.com
Work About Blog

Hi, I'm Michal

Creative Developer & 3D Enthusiast
I build interactive web experiences with Three.js, WebGL, and creative coding. This page uses head-coupled perspective — move your mouse to see the 3D depth effect.
projection.js
function shift(eye) {
  // screen is a window
  var hw = w / 2;
  left = -(hw+eye.x)
    * (near/d);
  right = (hw-eye.x)
    * (near/d);
 
  proj.makePersp(
    left,right,top,bot
  );
}
M
Michal F.
Creative Dev
5+
Proj
3D
Spec
Curious
🖱️ Mouse
rot: 0°
shift: 0px