MCPcopy Create free account
hub / github.com/FastLED/FastLED / copy

Method copy

examples/Chromancer/gen.py:51–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 return {"x": x_values, "y": y_values, "diameter": LED_DIAMETER}
50
51 def copy(self) -> "Point":
52 return Point(self.x, self.y)
53
54 def __repr__(self) -> str:
55 x_rounded = round(self.x, 2)

Callers 4

generate_red_pointsFunction · 0.45
generate_black_pointsFunction · 0.45
generate_green_pointsFunction · 0.45
generate_blue_pointsFunction · 0.45

Calls 1

PointClass · 0.70

Tested by

no test coverage detected