This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime, timedelta | |
from time import sleep | |
from typing import Tuple | |
import numpy as np | |
def coords8(size: int, nb_points: int = 100) -> Tuple[int, int]: | |
t = np.linspace(0, 2 * np.pi, nb_points) | |
x = size * np.sin(t) |