Rhino3dm JavaScript samples - how to?

I’m eager to try out the rhino3dm with javascript.
I can run the examples from the github page directly, but the 3D interactive viewer and sketch2d don’t seem to work from a local directory (the rhino-logo mesh doesn’t appear, can’t draw points).
What am I doing wrong?
Many thanks :wink:

You need to run a “local” web server to test web pages. I typically do this with python3 using the command line
python -m http.server 8080

Run this from the command line in the samples directory. You could then open your browser to something like

Got it! Now it works, nice :wink:
Thank you!