Skip to content

Instantly share code, notes, and snippets.

@boergens
Created March 22, 2017 18:37
Show Gist options
  • Save boergens/1e1500775560901f5159e21c37ceb2fb to your computer and use it in GitHub Desktop.
Save boergens/1e1500775560901f5159e21c37ceb2fb to your computer and use it in GitHub Desktop.
webKnossos set line width
// tested in Firefox 51.0, Windows 7
// in about:config webgl.disable-angle = true and webgl.force-enabled = true
// the maximum value seems to be around 7 for me
trees = app.oxalis.sceneController.skeleton.treeGeometries; for (idx in trees) {trees[idx].getLineWidth = function(){return 7}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment