hanayik / niivue

a WebGL2 based NIFTI volume viewer.
https://hanayik.github.io/niivue
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

make niivue.js a separate module #105

Open hanayik opened 3 years ago

hanayik commented 3 years ago

@neurolabusc and @cdrake , Now that the project has grown a bit, I think it would be best to separate the core niivue.js module into its own project. niivue.js contains all of the core image processing and rendering routines. It also imports some shaders and utility functions, so those would accompany niivue.js in its new repository.

What we currently have in hanayik/niivue is not sharable. Others can't import anything we have created easily. The code base has grown organically, but now that it is somewhat stable it would be good to separate things into modules that can be imported into other projects (either ours or anyone else's).

Here's my proposal:

Use this issue to start any discussions we might want to have.

If you support this idea I will setup the new repos and fill them with the current niivue components (once separated). I will also put in some basic development helpers so that we can develop the core library with nice reloadable pages like we currently have with vue.