google / google/neuroglancer

`video_tool.py` stuck downloading chunks

Open
#449 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
389
Avg merge
3d 21h
Merged PRs (30d)
3

Description

Hi,

The `video_tool.py` gets stuck downloading a few chunks and never gets past the first frame.
I notice that if I interact with the viewer and move to different slices, it sometimes triggers the download of the remaining chunks and moves to the next frame.

This happens with 3D rendering on or off.

Example stuck at 59:
```
2023-03-15T21:0814.506327 [0.000/ 25] Screenshot in progress: 33/ 69 chunks loaded (1098672896 bytes), 32 downloading
2023-03-15T21:0815.678242 [0.000/ 25] Screenshot in progress: 50/ 69 chunks loaded (1668976384 bytes), 19 downloading
2023-03-15T21:0816.645738 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0817.490026 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0818.493024 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0819.491629 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0820.491546 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0821.493226 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0822.498069 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0823.493638 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0824.491902 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0825.495324 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0826.496104 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0827.495775 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0828.501190 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
2023-03-15T21:0829.500438 [0.000/ 25] Screenshot in progress: 59/ 69 chunks loaded (1970901760 bytes), 10 downloading
```

Short `video_tool.py` script to reproduce:

```
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B0,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B1,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B2,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B3,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B4,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B5,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B6,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B7,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B8,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B9,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B10,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B11,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B12,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B13,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B14,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B15,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B16,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B17,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B18,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B19,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B20,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B21,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B22,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B23,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22t%22:%5B1,%22%22%5D,%22z%22:%5B1.24e-06,%22m%22%5D,%22y%22:%5B4.39e-07,%22m%22%5D,%22x%22:%5B4.39e-07,%22m%22%5D%7D,%22displayDimensions%22:%5B%22x%22,%22y%22,%22z%22%5D,%22position%22:%5B24,221.2143096923828,1268.8758544921875,1225.431396484375%5D,%22crossSectionScale%22:1.822118800390509,%22projectionOrientation%22:%5B-0.1538088023662567,-0.9003216028213501,0.369172602891922,0.17168410122394562%5D,%22projectionScale%22:3974.135810776353,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22zarr://https://public.czbiohub.org/royerlab/zebrahub/imaging/single-objective/ZSNS001.ome.zarr/%22,%22localDimensions%22:%7B%22c'%22:%5B1,%22%22%5D%7D,%22localPosition%22:%5B0%5D,%22tab%22:%22rendering%22,%22shader%22:%22#define%20true%201%5Cn#define%20false%200%5Cn%5Cn#uicontrol%20invlerp%20normalized%5Cn#uicontrol%20vec3%20color%20color(default=%5C%22white%5C%22)%5Cn#uicontrol%20float%20attenuation%20slider(min=1,%20max=50,%20step=1)%5Cn#uicontrol%20float%20contrast%20slider(min=-3,%20max=3,%20step=0.01)%5Cn%20%20%5Cnvoid%20main()%20%7B%5Cn%20%20%5Cn#if%20VOLUME_RENDERING%5Cn%20%20float%20alpha%20=%20pow(normalized(),%201.0%20/%20attenuation)%20*%20exp(contrast);%5Cn%20%20alpha%20=%20pow(alpha,%20attenuation);%5Cn%20%20emitRGBA(vec4(color,%20alpha));%5Cn#else%5Cn%20%20float%20value%20=%20(normalized())%20*%20exp(contrast);%5Cn%20%20emitRGB(color*value);%5Cn#endif%5Cn%7D%22,%22shaderControls%22:%7B%22normalized%22:%7B%22range%22:%5B0,450%5D%7D,%22attenuation%22:12,%22contrast%22:0.53%7D,%22volumeRendering%22:false,%22name%22:%22ZSNS001.ome.zarr%22%7D%5D,%22showSlices%22:false,%22selectedLayer%22:%7B%7D,%22layout%22:%22xy%22%7D
1
```

I used the command below, chrome browser was crashing.
```bash
python video_tool.py render script.txt video --browser firefox --jobs 1
```

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.