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
import numpy as np | |
lmin = -3 # (0 - (layers/2 round down)) | |
lmax = 3 # layers/2 round down | |
# Creates a 4x4 Matrix where every object is a tuple: (x, y) <- Tuple | |
matrix = np.zeros((4, 4), dtype=tuple) | |
# Fill the matrix with the tuples corrosponding to the x, y, values. | |
for x in range(0, 4): |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>p5js Platform Mechanics</title> | |
<link href="style.css" rel="stylesheet" type="text/css" /> | |
</head> |
NewerOlder