Skip to content

Instantly share code, notes, and snippets.

@Seanmatthews
Seanmatthews / fibonacci_sphere.py
Created May 29, 2018 02:54
Create equidistant points on the surface of a sphere using Fibonacci sphere algorithm
#!/usr/bin/env python3
import argparse
import mpl_toolkits.mplot3d.axes3d as ax3d
import matplotlib.pyplot as plt
import numpy as np
def fibonacci_sphere(num_points: int):
ga = (3 - np.sqrt(5)) * np.pi # golden angle
@davfre
davfre / git_cheat-sheet.md
Last active July 23, 2024 04:43
git commandline cheat-sheet