Skip to content

Instantly share code, notes, and snippets.

View merger-mode-script.txt
window.webknossos.apiReady(3).then(async (api) => {
const welcomeMessage =
`Mr. Motta and Mr. Boergens proudly present
The webKnossos Merger Mode Suite (version 23.04.2017)
[8] Shuffles segmentation color of current tree
[9] Toggles segment opacity
[right-click] Adds node and makes segment pink
[delete] Removes node and restores original segment color