- 3-4 Tablespoons of oil
- 2 Tablespoons pumpkin seeds
- 1 Tablespoon sesame seeds
- 2 Ancho Chiles (whole, dried)
- 4 Guajillo Chiles (whole, dried)
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 imageio.v3 import imwrite | |
import numpy as np | |
def cos_isotropic_spot(x, y, s): | |
"""Takes scalar x, scalar y, and vector s""" | |
return sqrt(s) * (0.5 + 0.5 * np.cos(np.pi * np.clip(np.divide(np.sqrt(x**2 + y**2), sqrt(s), out=np.zeros_like(s), where=horiz!=0), -1, 1))) | |
def line(x, y, s): |