Screen aligned quad module

I made a module to abstract the drawing of screen space quads. I tried to control it like a div, so the size can be set in pixels and percentages, and can be anchored from both top/left and bottom/right.

https://www.npmjs.com/package/three-screen-quad

Live:
http://dusanbosnjak.com/test/webGL/three-screen-quad/

Hope someone may find this useful, and would appreciate feedback. It works the way i wanted, but the code is a bit messy.

4 Likes

This is pretty cool, keep on working on this!

1 Like