Skip to content

Instantly share code, notes, and snippets.

@rawlik
Created August 22, 2023 17:13
Show Gist options
  • Save rawlik/70f730d4dcdc927d57293717026427f3 to your computer and use it in GitHub Desktop.
Save rawlik/70f730d4dcdc927d57293717026427f3 to your computer and use it in GitHub Desktop.
remove a curved container in FIJI
for (c = 1; c <= 5; c++) { for (z = 1; z <= 131; z++) { Stack.setPosition(c, z, 1); r = Math.pow(z / 130, 0.6) * (430-290) + 290; makeOval(getWidth() / 2 - r, getHeight() / 2 - r, 2 * r, 2* r); run("Make Inverse"); fill(); } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment