@niivue/niivue 0.33.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +8 -2
  2. package/dist/niivue.es.js +38453 -97784
  3. package/dist/niivue.umd.js +175 -106
  4. package/package.json +20 -20
  5. package/src/cmaps/ROI_i256.json +92 -0
  6. package/src/cmaps/_itksnap.json +0 -2
  7. package/src/cmaps/_slicer3d.json +0 -2
  8. package/src/cmaps/actc.json +0 -2
  9. package/src/cmaps/afni_blues_inv.json +9 -0
  10. package/src/cmaps/afni_reds_inv.json +7 -0
  11. package/src/cmaps/bcgwhw.json +0 -2
  12. package/src/cmaps/bcgwhw_dark.json +0 -2
  13. package/src/cmaps/blue.json +0 -2
  14. package/src/cmaps/blue2red.json +0 -2
  15. package/src/cmaps/bluegrn.json +0 -2
  16. package/src/cmaps/bone.json +0 -2
  17. package/src/cmaps/bronze.json +0 -2
  18. package/src/cmaps/cividis.json +0 -2
  19. package/src/cmaps/cool.json +0 -2
  20. package/src/cmaps/copper.json +0 -2
  21. package/src/cmaps/copper2.json +0 -2
  22. package/src/cmaps/cubehelix.json +0 -2
  23. package/src/cmaps/electric_blue.json +0 -2
  24. package/src/cmaps/freesurfer.json +0 -2
  25. package/src/cmaps/ge_color.json +0 -2
  26. package/src/cmaps/gold.json +0 -2
  27. package/src/cmaps/gray.json +0 -2
  28. package/src/cmaps/green.json +0 -2
  29. package/src/cmaps/hot.json +0 -2
  30. package/src/cmaps/hotiron.json +0 -2
  31. package/src/cmaps/hsv.json +0 -2
  32. package/src/cmaps/index.js +5 -2
  33. package/src/cmaps/inferno.json +0 -2
  34. package/src/cmaps/jet.json +0 -2
  35. package/src/cmaps/linspecer.json +0 -2
  36. package/src/cmaps/magma.json +0 -2
  37. package/src/cmaps/mako.json +0 -2
  38. package/src/cmaps/nih.json +0 -2
  39. package/src/cmaps/plasma.json +0 -2
  40. package/src/cmaps/random.json +0 -2
  41. package/src/cmaps/red.json +0 -2
  42. package/src/cmaps/redyell.json +0 -2
  43. package/src/cmaps/rocket.json +0 -2
  44. package/src/cmaps/surface.json +0 -2
  45. package/src/cmaps/turbo.json +0 -2
  46. package/src/cmaps/violet.json +0 -2
  47. package/src/cmaps/viridis.json +0 -2
  48. package/src/cmaps/warm.json +0 -2
  49. package/src/cmaps/winter.json +0 -2
  50. package/src/cmaps/x_rain.json +0 -2
  51. package/src/colortables.js +48 -41
  52. package/src/index.html +9 -3
  53. package/src/niivue.js +369 -136
  54. package/src/nvdocument.js +3 -0
  55. package/src/nvimage.js +103 -47
  56. package/src/nvmesh.js +18 -19
  57. package/src/shader-srcs.js +136 -50
  58. package/src/indexDraw.html +0 -380
  59. package/src/indexFloodFillDraw.html +0 -131
  60. package/src/indexFullScreen.html +0 -77
  61. package/src/indexIntelGPU.html +0 -201
  62. package/src/indexIntensityDraw.html +0 -89
package/README.md CHANGED
@@ -8,6 +8,10 @@ NiiVue allows developers to create interactive web pages for visualizing [nifti]
8
8
 
9
9
  [click here to go to the docs web page](https://niivue.github.io/niivue/devdocs/)
10
10
 
11
+ ### Supported Nodejs versions for building/developing with NiiVue
12
+
13
+ NiiVue is built and tested using [Nodejs](https://nodejs.dev/en/) `14`, `16`, and `18` and their accompanying npm versions. We recommend using the latest LTS version of Nodejs when building and developing with NiiVue.
14
+
11
15
  ### Install NiiVue using npm
12
16
 
13
17
  Installs without the bloat of the development dependencies or testing frameworks
@@ -16,17 +20,19 @@ Installs without the bloat of the development dependencies or testing frameworks
16
20
  npm install --only=prod @niivue/niivue
17
21
  ```
18
22
 
19
- # Overview/Mission
23
+ # Mission
20
24
 
21
- NiiVue brings the features of the widely used native desktop applications ([AFNI](https://afni.nimh.nih.gov/about_afni), [FSLeyes](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes), [MRIcroGL](https://github.com/rordenlab/MRIcroGL), [Surfice](https://github.com/neurolabusc/surf-ice), [SUMA](https://afni.nimh.nih.gov/Suma)) to the web. The developers of these tools developed NiiVue in collaboration, allowing us to benefit from collective wisdom. This will enable other researchers and developers to build cloud-based medical imaging tools with a powerful viewer that can operate on any device (desktop, tablet, mobile).
25
+ NiiVue brings the features of the widely used native desktop applications ([AFNI](https://afni.nimh.nih.gov/about_afni), [FSLeyes](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes), ([FreeSurfer](https://surfer.nmr.mgh.harvard.edu/), [MRIcroGL](https://github.com/rordenlab/MRIcroGL), [Surfice](https://github.com/neurolabusc/surf-ice), [SUMA](https://afni.nimh.nih.gov/Suma)) to the web. The developers of these tools developed NiiVue in collaboration, allowing us to benefit from collective wisdom. This will enable other researchers and developers to build cloud-based medical imaging tools with a powerful viewer that can operate on any device (desktop, tablet, mobile).
22
26
 
23
27
  # Projects and People using NiiVue
24
28
 
25
29
  - Analysis of Functional NeuroImages (AFNI) [Scientific and Statistical Computing Core](https://afni.nimh.nih.gov/) (National Institutes of Health)
26
30
  - [Center for the Study of Aphasia Recovery](https://cstar.sc.edu/) (University of South Carolina)
27
31
  - FMRIB's Software Library (FSL) [Wellcome Centre for Integrative Neuroimaging](https://www.win.ox.ac.uk/) (University of Oxford)
32
+ - FreeSurfer [Laboratories for Computational Neuroimaging](https://lcn.martinos.org/) (Massachusetts General Hospital)
28
33
  - [OpenNeuro.org](https://openneuro.org)
29
34
  - [BrainLife.io](https://brainlife.io/about/)
35
+ - [nilearn](https://nilearn.github.io/stable/index.html) is extending [ipyniivue](https://github.com/niivue/ipyniivue)
30
36
 
31
37
  # Live View
32
38