Tag Info

New answers tagged


They are not. Webgl coordinates refers to the positions of pixels in a canvas element and CSS describes the position of any HTML element in a page. You have to do math to apply the correct transformation if you wish align them. The default coordinate space for webgl is -1 being on one side of canvas and +1 on the other side (assuming viewport is same as ...


I found a possible solution. Simply remove the position: absolute; CSS rule on inner-text. This works on all (tileScale)'s that I thought reasonable to test. Here's the code without that rule http://jsfiddle.net/t38k1j8w/76/ I also found some other styling things and could explain my process but wasn't sure if it was important.

Top 50 recent answers are included