正三角形オブジェクトだけでフォントをレンダリングできるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)
https://qiita.com/tropical-362827/items/6be88a910efa81f45791?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
正三角形オブジェクトだけでフォントをレンダリングできるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)
https://qiita.com/tropical-362827/items/6be88a910efa81f45791?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
@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]....