Skip to content

Instantly share code, notes, and snippets.

@gounux
gounux / .py
Created March 1, 2024 08:50
Sweet QGIS moves
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)