Rhino3dm.js demo?

Could anyone point me to a working example using Rhino3dm.js.

I see this:

<html>
  <!-- stuff -->
  <body>
    <script async type="text/javascript" src="https://files.mcneel.com/rhino3dm/js/latest/rhino3dm.js"></script>
    <!-- more stuff -->
  </body>
</html>

But that’s just adding the library to the html file.
What do I have to do next?
Use HTML5 canvas or something?
I don’t understand.

Here’s a codepen example

https://codepen.io/stevebaer/pen/pxQOeQ

1 Like

Thanks @stevebaer

@dale, I could not make these examples in github to work.

Uh oh… I’ve logged a bug

1 Like