Skip to content

Instantly share code, notes, and snippets.

@boergens
Created January 3, 2022 16:19
Show Gist options
  • Save boergens/fe039e411e98d5bbdccae962cfe73c66 to your computer and use it in GitHub Desktop.
Save boergens/fe039e411e98d5bbdccae962cfe73c66 to your computer and use it in GitHub Desktop.
description for your gist
window.webknossos.apiReady(3).then(async (api) => {api.data.computeMeshOnDemand(5, [5127, 11440, 0]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(71, [9925, 15053, 346]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(70, [10157, 14448, 359]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(81, [9959, 14337, 361]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(76, [9760, 14663, 367]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(82, [9706, 14409, 370]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(75, [9675, 15181, 374]);await api.utils.sleep(5000);api.data.computeMeshOnDemand(69, [9555, 15036, 378]);await api.utils.sleep(5000);})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment