kalwalt / kalwalt-interactivity-AR

Some various experiments with Ar.js and Three.js
https://kalwalt.github.io/kalwalt-interactivity-AR/
GNU Lesser General Public License v3.0
78 stars 11 forks source link

Is there a way to get the NFTMarker size? #21

Closed Rojke34 closed 4 years ago

Rojke34 commented 4 years ago

I am looking for a way to get the size of my marker(pinball) I want my plane to have the same size as my marker, any suggestions?

thanks!

IMG_1776

kalwalt commented 4 years ago

Hi @Rojke34 Yes there is, You can try my https://github.com/kalwalt/jsartoolkitNFT a lighter version of Jsartoolkit5 it will give you the dpi, width and height of the marker. check the example. :smile: