tonylukasavage / jsstl

Pure Javascript code for parsing and rendering STL (ascii and binary) files
161 stars 50 forks source link

Putting octocat into a div #2

Open dicoy-zz opened 9 years ago

dicoy-zz commented 9 years ago

I'm having a few issues containing the canvas element in a div. How would I go about getting the sizes from the containing div opposed from the "window" element?