Skip to content

Instantly share code, notes, and snippets.

View TheTuringExperience's full-sized avatar
🐅
🐉

Oliver De Jesús Rosario Reyes TheTuringExperience

🐅
🐉
  • Rialtic
  • Santo Domingo, Rep. Dominicana
View GitHub Profile
@TheTuringExperience
TheTuringExperience / perlin.py
Created May 2, 2020 18:01 — forked from eevee/perlin.py
Perlin noise in Python
"""Perlin noise implementation."""
# Licensed under ISC
from itertools import product
import math
import random
def smoothstep(t):
"""Smooth curve with a zero derivative at 0 and 1, making it useful for
interpolating.