draw icon indicating copy to clipboard operation
draw copied to clipboard

Disable animation in "Fast draw"

Open LourencoVazPato opened this issue 4 years ago • 2 comments

Hi, first of all thank you @inker for sharing this project.

I'm trying to simulate locally many different draws to estimate group probabilities.

The main bottleneck I'm finding are the animations in "Fast draw". Is there any way to disable them to allow for faster sims?

Thanks in advance

LourencoVazPato avatar Aug 25 '21 15:08 LourencoVazPato

@LourencoVazPato

Currently, the only way to disable transitions is by patching the code manually.

  1. Open the browser's dev tools. For Chrome, it's Option + ⌘ + J (on macOS) or Shift + CTRL + J (on Windows/Linux).
  2. Go to the 'Console' tab.
  3. Type the following:
const s = document.createElement('style');
s.textContent = 'body * { transition: none !important }';
document.head.append(s);
  1. Press 'Enter'

(Close the dev tools) Transitions are gone.

I might add an option to disable all UI in the future.

inker avatar Aug 25 '21 22:08 inker

I can work in this feature if you want!

poleselfg avatar Apr 01 '22 15:04 poleselfg