Skip to content

Commit cd2753f

Browse files
committed
perf: use a smaller version of the visiblehuman on frontpage
Faster loading.
1 parent c3a1647 commit cd2753f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
2.09 MB
Binary file not shown.

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const featuredArticle = {
221221
};
222222
const nv1 = new Niivue(defaults);
223223
await nv1.attachToCanvas(gl1);
224-
await nv1.loadVolumes([{ url: "/assets/visiblehuman.nii.gz" }]);
224+
await nv1.loadVolumes([{ url: "/assets/visiblehuman-small.nii.gz" }]);
225225

226226
// Set only rendering mode (no slices)
227227
nv1.setSliceType(nv1.sliceTypeRender);

0 commit comments

Comments
 (0)