eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

215
active users

#py5

7 posts6 participants0 posts today

Cheers @melissawm ! Sorry for the chaotic and ill defined question (I'm sure I'll sound like a learner mixing concepts, but that's what I am in this domain). Could we make a dtype out of Py5Vectors (I seem to remember something about custom dtypes) so we get the vectorized goodness out of an array of Py5Vectors? That would allow us to avoid converting to and from them... Inside #py5 vectors they have the data in a #numpy array.

`ENABLE_STROKE_PERSPECTIVE`: Enables stroke geometry (lines and points) to be affected by the perspective, meaning that they will look smaller as they move away from the camera.

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding

PS: Thank you @hipgnose, @ericof, @64kb, @tom & @yorik for your support, it really helps me!

The example code repo for #py5's #processing mode documentation (py5coding.org/content/processi) has gotten its first Github star, 2 years after the repo was created. Finally!

github.com/py5coding/py5-pytho

py5's Processing mode lets you call Python functions from within a #Java processing Sketch. This feature is a core part of the most interesting things I do with py5 but it didn't generate much interest for others.

Thanks, jn3008 (jn3008.com/)! We will use Processing mode to do great things!

py5coding.orgProcessing Mode — py5 documentation

Hi, dear people on #WIndows, can you check form me if on #ThonnyIDE you can do !jupyter lab on the interactive console down on Thonny's window? It works on Linux! (you have to have #JupyterLab installed)

I can check this tomorrow but I was surprised... (I was trying %run a few months ago and it didn't work) now I hope I can try #py5's live coding feature launching it from Thonny like this also...

Would you like to get started learning #Python? Or maybe you already know how to code but would like to see something completely different from your current work?

Would it appeal to you to start #drawing stuff, maybe colourful moving, interactive stuff? There is this thing called #CreativeCoding, and you can use a library called #py5

I've written some step-by-step instructions so you can install everything you need, Python, a code editor and py5. Check it out at abav.lugaralgum.com/como-insta

abav.lugaralgum.comAlexandre B A Villares