folio-lamp-geometry
v0.0.26
Published
folio lamp geometry builder
Downloads
18
Readme
Intro
This repo contains the code to build the geometry of the folio lamp by Woodskin.
It is written in typescript with the stack.gl and umbrella ecosystems. The stack.gl modules are used in typescript using the type declarations of tstackgl monorepo. The viewer is code with threejs
Important
Everything in here is to be considered private and confidential.
Notes
Before continue the develop of this project consider the following points:
- Please be sure that the IDE Typescript version match exactly the workspace version. For instance if you are using VSCode you should be aware of the
.vscode
folder. - The project is build with parcel-bundler and static asset like images should be imported manually because in the final build the asset will be hashed. Anyway if you need special asset (like .obj or .hdr files) you must keep them in the
static
folder thanks to the parcel-plugin-static-files-copy. - If you find a runtime error with something like
regeneratorRuntime
please begin to pray loud, write to[email protected]
, google it, and see this issue.
The two file index.ts
and __index.ts
So this package is thought to be a library imported in other projects so in the index.ts
it just export what it needs to be a library, for instance the updateGeometry2
function.
But when we develop it... it is handy to have a small testing environment with a viewer to see what is happening. This is take place in the __index.ts
file loaded from the index.html
, but it is not exported in the final release and it intended only for debug propose.