Skip to content

icosahedron example - newer versions will not run. #15

Open
@Neon22

Description

@Neon22

Tried updating to three.js version 162 using cdjns published url:

<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/0.162.0/three.module.min.js"></script>

However get error message:

ImportError: cannot import name 'THREE' from 'js' (unknown location)

I am not sure if this is happening because of order of imports (and three is not loaded but the older 147 is loaded), or of a change made between builds 147 and 162 in three.js itself.
Also unsure if doing it like this is preferred now or should it be in toml file ?

Hoping you can help and update the examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions