“Arte com matrizes: NumPy na programação criativa”
@hx2A@hx2A e eu apresentando #numpy + #py5 @ #PythonBrasil2026
https://www.youtube.com/live/Huk_P03JTqA?si=xQAD-d2q7iLGQPOQ&t=18492
Olha não tenho 100% de certeza, mas acho que a Jadlog mentiu uma entrega no rastreio. Disseram que entregaram uma encomenda pra mim na quinta-feira e não houve entrega, entregaram na verdade hoje (segunda-feira).
Passei um tanto de nervoso, escrevi pra eles, eles responderam que eu tinha que ver com o remetente pra investigarem (a empresa que mandou não estava com atendimento disponível no final de semana…). Vou passar a evitar Jadlog sempre que possível.
O lado bom é que agora fiquei feliz que tenho #stickers #adesivos pra levar pra #PythonBrasil2026 :D
#Python #py5 #PythonIsForArtistsToo #PythonIsForEveryOne #PythonReadingClub #NumPy #Shapely #Trimesh
PS: in the most recent #py5 versions you can skip the draw_mesh helper I made and just use py5.shape(mesh) , as it cleans coplanar edges by default. I kept the example on that page as is because it uses #numpy so it contributes to the fun of having the image made using the four libraries.
If you want to work with typography in 3D, you can try out these “Fab four” #Python libraries: #numpy, #shapely, #trimesh & #py5 :D
“The last mile of a long road: faster #NumPy in the browser”
Para conseguir pagar a minha viagem pra #PythonBrasil este ano (sendo que eu mal tou conseguindo pagar as minhas contas 😭 ) eu vou tentar vender mais canecas dessas aqui: https://umapenca.com/villares/caneca/l-system-arbusto-286376.html
Fazendo aqui perto de casa eu consigo um preço bem melhor, dá pra vender a caneca por R$80 e ainda ter uma boa margem.
Também tou querendo fazer bottons, que daria pra vender mais baratinho, tipo R$10. Mas tou muito em dúvida sobre quais desenhos as pessoas vão querer…
- “Python é para artistas também” https://umapenca.com/villares/bottons/python-is-for-artists-too-299976.html
- Algum desenho meu?
- As “fab four” bibliotecas que eu curto? https://umapenca.com/villares/camiseta/numpy-shapely-trimesh-e-py5-285676.html (numpy, shapely, trimesh & py5)
For me, the two most “magical” things about np.arrays are:
- Vectorized/broadcast operations, like multiplying a matrix and a scalar value & adding or subtracting two vectors or two matrices - but also any vectorized function;
- Masking & array indexing, being able to use arrays to select positions on other arrays;
- Bonus-third-thing: multi-dimensional arrays in general are quite magical too, if you add slicing to it, good lord, it can be quite daunting.
Hoje vai ter #NumPy no #SescAvenidaPaulista !
14h30
https://www.sescsp.org.br/programacao/atelie-aberto-simulacoes-fisicas-com-programacao/
I kind of feel that I finally found a way to visualize and maybe explain to myself and others how a #numpy #meshgrid works… Let’s see how long this feeling lasts 😂
(… I should draw some diagrams from this insight…) #python #education
Se vocês quiserem presentear alguém com uma coisa diferente… Andei fazendo umas camisetas e canecas com uns desenhos meus:
https://villares-shop.fourthwall.com/ (internacional)
https://umapenca.com/villares/ (Brasil)
Tem coisa sobre as bibliotecas de #Python para computação científica e geometria que eu uso na #ProgramaçãoCriativa e tem também aviãozinho colorido, plantas fractais e uns outros desenhos abstratos, tudo feito usando programação. #shapely #trimesh #numpy #py5 #processing
Se você vier para a #PythonBrasil em #SãoPaulo vamos estar tendo mini adesivos!
#Python is for artists too!
I made some #Python #numpy, #shapely, #trimesh & #py5bot stickers!
PS: I asked the PSF to check if the logos were alright: “you can change the colors and add thing inside, but not change the shape or position of the snakes”. So I had to change my original Python reading club logo…
#Python is for artists too!
I made some #Python #numpy, #shapely, #trimesh & #py5 stickers!
PS: I asked the PSF to check if the logos were alright: “you can change the colors and add elements inside, but not change the shape or position of the snakes”. So I had to change my original Python Reading Club logo…
Should I make more T-shirts?
https://villares-shop.fourthwall.com/
https://umapenca.com/villares/
#Python #Processing #py5 #CreativeCoding #FLOSS #numpy #shapely #trimesh
the code to generate this image (have you noticed it is a 3D mesh?)
is here: https://abav.lugaralgum.com/selected-work/py5band/
Folks I finally made something I wanted to make for a long time, a T-Shirt design thing.
Available at Rednubble https://www.redbubble.com/i/t-shirt/numpy-shapely-trimesh-and-py5-by-villares/173500912.7H7A9?asc=u
And also available in Brazil at Uma Penca: https://umapenca.com/villares/
You can also buy stickers and other items… soon my “Python Reading Club” and “Python is also for artists!” designs will be available. This will help support my free and open source activities. I make free and open educational resources, I teach at several places and I need to make ends meet.
#python #numpy #shapely #trimesh #py5 #creativeCoding #FLOSS
Folks I finally made something I wanted to make for a long time, a T-Shirt design thing.
Available at Redbubble https://www.redbubble.com/i/t-shirt/numpy-shapely-trimesh-and-py5-by-villares/173500912.7H7A9?asc=u
And also available in Brazil at Uma Penca: https://umapenca.com/villares/
You can also buy stickers and other items… soon my “Python Reading Club” and “Python is also for artists!” designs will be available. This will help support my free and open source activities. I make free and open educational resources, I teach at several places and I need to make ends meet.
#python #numpy #shapely #trimesh #py5 #creativeCoding #FLOSS
Folks, I finally made something I wanted to make for a long time, a T-Shirt design thing.
Available at Redbubble https://www.redbubble.com/i/t-shirt/numpy-shapely-trimesh-and-py5-by-villares/173500912.7H7A9?asc=u
And also available in Brazil at Uma Penca: https://umapenca.com/villares/
You can also buy stickers and other items… soon my “Python Reading Club” and “Python is also for artists!” designs will be available. This will help support my free and open source activities. I make free and open educational resources, I teach at several places and I need to make ends meet.
#python #numpy #shapely #trimesh #py5 #creativeCoding #FLOSS
numpy.unique needs the type to be comparable by < and >, not just ==. that seems like overkill.
have to admit that switching to python & numpy for data analysis from klong relieves me from a huge pain in the ass—klong is just slow for that.