Skip to content

Version of THREE.js used for CS559 in the Spring of 2023 (this is THREE version

License

Notifications You must be signed in to change notification settings

CS559/CS559-Three23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS559-Three - a version of the THREE.js library for CS559 Workbooks

This is the Spring23 version!

These files are taken from the THREE distribution.

They are the pieces that are required for the CS559 workbooks. This is the minimum. If you want other things (like the sources or the documentations or examples), download the entire three package.

This archive was created by downloading three.js-master on January 10, 2023. It is THREE version 148.

The version of THREE for class is in the 2023 CS 559 Three Repo.

The choices of files are based on last year (which might not be an informed choice).

What's here (all copied from the THREE distribution):

  1. The Three README.md and LICENSE files (renamed)
  2. build/three.module.js
  3. the src folder (mainly to get the typing information)
  4. some of the examples (not all of them) - all from the jsm folder
    • controls (in the past, it was a subset - this year I included more)
    • curves
    • libs
    • loaders
    • webxr
  5. the fonts (just the json for helvetiker) - this was added later in the semester

Type Information

The build/types folder is copied from this repository.

The following steps were taken:

  1. copied index.d.ts and renamed it to three.module.d.ts
  2. copy src and renamed it to types
  3. edit three.module.d.ts to refer to types (rather than src)

This has not yet been tested fully... A few of the demos do work.

Note: step 3 (editing the files to point to the right thing) was not an elegant approach. In the future, we should use the library "as is" and then use an "import map" to load things correctly. (see https://threejs.org/docs/index.html#manual/en/introduction/Installation "Addons")

About

Version of THREE.js used for CS559 in the Spring of 2023 (this is THREE version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published