The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_20 #Processing #Python #py5 #CreativeCoding
@rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?
I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...
The next big step in efficiency would be using #scipy I think:
def count_live_neighbors(status):
"""Counts the number of neighboring live cells"""
kernel = np.array([
[1, 1, 1],
[1, 0, 1],
[1, 1, 1]
])
return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap")
Hi all,
Hope you're fine and safe
An important #announcement about #tyssue , a Python modeling library :
https://github.com/DamCB/tyssue/blob/main/README.md
Please đ this message to reach the few and far apart people that might be impacted :pray:
100% mission complication
https://codeberg.org/guix/guix/issues/2977
@guix Python team has been merged to next-master - NumPy is default on v2.3.1
#Guix #guixpythonteam
#Python
#NumPy #Pandas #SciPy
#OpenScience

Check if they are compatible with NumPy 2.3.1 - [X] python-numpy@2 or python-numpy@1 [719/719][100%] - [X] [email protected]: PASSED - [X] apache-arrow-for-ceph: https://codeberg.org/guix/guix/issues/4758 - [X] [email protected]: PASSED - [X] [email protected]: PASSED - [X] [email protected]....
Call for the hand of help to validate NumPy stack based on v2.3.1
guix time-machine --branch=python-team -- build -P1 python-numpy
https://codeberg.org/guix/guix/issues/2977
Please boost

Check if they are compatible with NumPy 2.3.1 - [X] python-numpy@2 or python-numpy@1 [719/719][100%] - [X] [email protected]: PASSED - [X] apache-arrow-for-ceph: https://codeberg.org/guix/guix/issues/4758 - [X] [email protected]: PASSED - [X] [email protected]: PASSED - [X] [email protected]....