Skip to content

Instantly share code, notes, and snippets.

View gounux's full-sized avatar

Guilhem Allaman gounux

View GitHub Profile
@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)