<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>vrml1to97 test</title>
    <script>
      (async () => {
        const vrml1to97 = await import('../dist/vrml1to97/index.js')
        console.log(vrml1to97.convert( `
#VRML V1.0 ascii

# Example 2 - using the Separator and Material Nodes

# Here comes the Sun
# The Separator node groups everything within it together
Separator {
       # The material will affect all subsequent nodes
       # The Sun becomes yellow
       Material {
              diffuseColor 1 1 0    # R G B
       }
       Sphere {
               radius 10                   # the Sun is very big
       }
}`))
      })()
    </script>
  </head>
  <body>
    <p>Nothing will show in this page, but the result of the conversion
      should appear in the console.</p>
  </body>
</html>