MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / __init__

Method __init__

animations/quicksort.py:4–9  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

2
3class QuickSort(AlgoScene):
4 def __init__(self, **kwargs):
5 super().__init__(**kwargs)
6 self.partition_time = 0
7 self.low_arrow = None
8 self.current_arrow = None
9 random.seed(1)
10
11 def scale(self, s):
12 self.camera.frame.set_width(self.camera.frame.get_width()/s)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected