#trimesh — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #trimesh, aggregated by home.social.
-
#shapely #trimesh
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_07_19 #Processing #Python #py5 #CreativeCoding -
#shapely #trimesh
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_07_19 #Processing #Python #py5 #CreativeCoding -
#trimesh #shapely #viridis
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_07_16 #Processing #Python #py5 #CreativeCoding -
#trimesh #shapely #viridis
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_07_16 #Processing #Python #py5 #CreativeCoding -
#trimesh #shapely #viridis
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_07_16 #Processing #Python #py5 #CreativeCoding -
#trimesh #shapely #viridis
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_07_16 #Processing #Python #py5 #CreativeCoding -
#trimesh #shapely #viridis
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_07_16 #Processing #Python #py5 #CreativeCoding -
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_29
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding #shapely #trimesh #viridis #generativeArt -
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_29
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding #shapely #trimesh #viridis #generativeArt -
#shapely #trimesh #viridis Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_28
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#shapely #trimesh #viridis Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_28
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#numpy #shapley #trimesh #stencil Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_11
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#numpy #shapley #trimesh #stencil Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_11
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#numpy #shapley #trimesh #stencil Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_11
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#numpy #shapley #trimesh #stencil Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_11
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#numpy #shapley #trimesh #stencil Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_11
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
#GitHub #GitHubPages #fail This is driving me mad...
Images randomly deciding not to load on all my pages.
Is it just me? Is it my browser's fault? Is it just in Brazil?
I was working on this #shapely + #trimesh page... and I can only see the last image (the animated gif)!
https://abav.lugaralgum.com/material-aulas/Processing-Python-py5/shapely-e-trimesh.html
Update: On this exact page I have bungled the image URLs (I blame Marktext for being stupid and not using a relative reference). But I swear loading problems have been going on other well formed pages.
-
For me, the most waited and exciting presentation at #PyConUS24 was Jim's (@hx2A) talk: #CreativeCoding with #py5 (@py5coding), the #Python version of #Processing
If you missed it, you can watch it now! https://www.youtube.com/watch?v=pNVn3FPi5PU
I'm so glad I was able to be there! We had a nice "creative coding open space" the next day. I wish @ericof and @TomLarrow could have been there too. #numpy #shapely #trimesh #matplotlib #opencv
-
For me, the most waited and exciting presentation at #PyConUS24 was Jim's (@hx2A) talk: #CreativeCoding with #py5 (@py5coding), the #Python version of #Processing
If you missed it, you can watch it now! https://www.youtube.com/watch?v=pNVn3FPi5PU
I'm so glad I was able to be there! We had a nice "creative coding open space" the next day. I wish @ericof and @TomLarrow could have been there too. #numpy #shapely #trimesh #matplotlib #opencv
-
I wish #trimesh .show() method would work with the latest #pyglet (v2.0.X, it only works with v1.5.X)
#Python #WishesFor2024 -
I wish #trimesh .show() method would work with the latest #pyglet (v2.0.X, it only works with v1.5.X)
#Python #WishesFor2024 -
Myślicie, że jest wam dzisiaj gorąco?
Najpierw walczyłem z nowym segfaultem w #pydantic 2 z Pythonem 3.12. Nie udało mi się zajść daleko, co najwyżej ustalić, że to #heisenbug.
https://github.com/pydantic/pydantic/issues/7181
Potem testowałem świeży snapshot #LLVM — tylko po to, by odkryć, że testy znów padly na 32-bitowych platformach. Po bisect'cie, okazało się, że przyczyną była zmiana "NFCi" (niezamierzająca zmian funkcjonalnych) do logiki hashowania — wygląda na to, że LLVM drukuje teraz funkcje w kolejności zależnej od platformy.
https://reviews.llvm.org/D158217#4600956
Na koniec walczyłem z segfaultem w testach #trimesh. Najwyraźniej jest to regresja związana z betą #numpy 1.26.0, więc wypracowałem backtrace i zgłosiłem błąd.
-
You think it's hot today?
First I've been trying to figure out a new segfault in #pydantic 2 with #Python 3.12. I haven't been able to get far, except for establishing that it's a #heisenbug.
https://github.com/pydantic/pydantic/issues/7181
Then I've been testing a fresh #LLVM snapshot — only to discover the test suite is broken on 32-bit platforms again. After a bisect, it turned out that it was caused by a NFCi change to the hash logic — I guess that the function ordering depends on the platform now.
https://reviews.llvm.org/D158217#4600956
Finally, I've been figuring out a #trimesh segfault in tests. Apparently it's specific to #numpy 1.26.0 beta, so I've gotten a backtrace and filed a bug there.
-
sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D
import trimesh
import shapely# https://iamkate.com/data/12-bit-rainbow/
palette = (
'#817', '#a35', '#c66', '#e94',
'#ed0', '#9d5', '#4d8', '#2cb',
'#0bc', '#09c', '#36b', '#639'
)def setup():
global m
size(400, 400, P3D)
no_stroke()
polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
(0, 0), (-50, -50), (-100, 0)])
m = trimesh.creation.extrude_polygon(polygon, 30)
def draw():
background(0)
translate(width /2, height / 2)
rotate_x(QUARTER_PI)
rotate_y(radians(mouse_x))
for i, face in enumerate(m.faces):
fill(palette[i % 12])
with begin_closed_shape():
vertices([m.vertices[v] for v in face]) -
sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D
import trimesh
import shapely# https://iamkate.com/data/12-bit-rainbow/
palette = (
'#817', '#a35', '#c66', '#e94',
'#ed0', '#9d5', '#4d8', '#2cb',
'#0bc', '#09c', '#36b', '#639'
)def setup():
global m
size(400, 400, P3D)
no_stroke()
polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
(0, 0), (-50, -50), (-100, 0)])
m = trimesh.creation.extrude_polygon(polygon, 30)
def draw():
background(0)
translate(width /2, height / 2)
rotate_x(QUARTER_PI)
rotate_y(radians(mouse_x))
for i, face in enumerate(m.faces):
fill(palette[i % 12])
with begin_closed_shape():
vertices([m.vertices[v] for v in face]) -
sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D
import trimesh
import shapely# https://iamkate.com/data/12-bit-rainbow/
palette = (
'#817', '#a35', '#c66', '#e94',
'#ed0', '#9d5', '#4d8', '#2cb',
'#0bc', '#09c', '#36b', '#639'
)def setup():
global m
size(400, 400, P3D)
no_stroke()
polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
(0, 0), (-50, -50), (-100, 0)])
m = trimesh.creation.extrude_polygon(polygon, 30)
def draw():
background(0)
translate(width /2, height / 2)
rotate_x(QUARTER_PI)
rotate_y(radians(mouse_x))
for i, face in enumerate(m.faces):
fill(palette[i % 12])
with begin_closed_shape():
vertices([m.vertices[v] for v in face]) -
sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D
import trimesh
import shapely# https://iamkate.com/data/12-bit-rainbow/
palette = (
'#817', '#a35', '#c66', '#e94',
'#ed0', '#9d5', '#4d8', '#2cb',
'#0bc', '#09c', '#36b', '#639'
)def setup():
global m
size(400, 400, P3D)
no_stroke()
polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
(0, 0), (-50, -50), (-100, 0)])
m = trimesh.creation.extrude_polygon(polygon, 30)
def draw():
background(0)
translate(width /2, height / 2)
rotate_x(QUARTER_PI)
rotate_y(radians(mouse_x))
for i, face in enumerate(m.faces):
fill(palette[i % 12])
with begin_closed_shape():
vertices([m.vertices[v] for v in face]) -
sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D
import trimesh
import shapely# https://iamkate.com/data/12-bit-rainbow/
palette = (
'#817', '#a35', '#c66', '#e94',
'#ed0', '#9d5', '#4d8', '#2cb',
'#0bc', '#09c', '#36b', '#639'
)def setup():
global m
size(400, 400, P3D)
no_stroke()
polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
(0, 0), (-50, -50), (-100, 0)])
m = trimesh.creation.extrude_polygon(polygon, 30)
def draw():
background(0)
translate(width /2, height / 2)
rotate_x(QUARTER_PI)
rotate_y(radians(mouse_x))
for i, face in enumerate(m.faces):
fill(palette[i % 12])
with begin_closed_shape():
vertices([m.vertices[v] for v in face])