Skip to content

Instantly share code, notes, and snippets.

@haehn
Created August 23, 2024 21:26
Show Gist options
  • Save haehn/ad712b9c7aeacec063aa04760a50a242 to your computer and use it in GitHub Desktop.
Save haehn/ad712b9c7aeacec063aa04760a50a242 to your computer and use it in GitHub Desktop.
iTCGA: Tumor+Fibers+Volume
<html>
<head>
<style>
body {
background: black;
margin: 0;
padding: 0;
overflow: hidden !important;
}
</style>
<script type="text/javascript" src="https://get.goXTK.com/xtk_edge.js"></script>
<script>
window.onload = function() {
r = new X.renderer3D();
r.init();
tumor = new X.mesh();
tumor.file = 'https://fly.cs.umb.edu/data/X/combined/tumor.vtk';
r.add(tumor);
tracks = new X.fibers();
tracks.file = 'https://fly.cs.umb.edu/data/X/combined/tracks.trk';
r.add(tracks);
volume = new X.volume();
volume.file = 'https://fly.cs.umb.edu/data/X/combined/volume.nii';
r.add(volume);
r.render();
}
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment