```python
tris = sequence.reshape(20,3)
face_centers = vs[tris].mean(axis=1)
```
Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_22
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #numpy #Processing #Python #py5 #CreativeCoding
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.