@py5coding@fosstodon.org
@py5coding@fosstodon.org avatar

py5coding

@py5coding@fosstodon.org

Official Mastodon account of the #py5 project.

py5 is a new version of #processing for #python.

Created and maintained by https://mastodon.art/@hx2A and the py5 community.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mitten, to python
@mitten@social.lol avatar

So I’m trying to write some little static designs with py5 in Thonny, and when I run the program, the sketch window opens but closes immediately, so I can’t really see what I’ve drawn. It only seems to happen when there is no “def draw():” component in the program (so, non-animated programs which only have the “def setup():” part). Is there a setting somewhere to tell Thonny to keep the sketch result open after running?

py5coding,
@py5coding@fosstodon.org avatar

@InstantArcade @villares @mitten @hx2A You are welcome! Always appreciate encouraging words!

py5coding,
@py5coding@fosstodon.org avatar

@mitten hi there! Can you try updating your version of py5? This sounds like a bug from an earlier version of py5.

py5coding,
@py5coding@fosstodon.org avatar

@mitten Excellent, I am happy you have it working now!

villares, to random Portuguese
@villares@ciberlandia.pt avatar

Going to the closing keynote :)

py5coding,
@py5coding@fosstodon.org avatar

@villares in the back left

py5coding, to random
@py5coding@fosstodon.org avatar

Tomorrow (Saturday) at PyCon US 2024: Creative Coding with py5, the Python version of Processing, at 4:15 in Room 301-305

https://us.pycon.org/2024/schedule/presentation/167/

#pycon #pycon2024 #py5 #processing

py5coding,
@py5coding@fosstodon.org avatar

@rzeta0 @villares that you, we had a blast!

villares, to python Portuguese
@villares@ciberlandia.pt avatar
py5coding,
@py5coding@fosstodon.org avatar

@villares I just remembered Py5Shape already has a contains() method...have you used it before?

https://py5coding.org/reference/py5shape_contains.html

py5coding,
@py5coding@fosstodon.org avatar

@villares It seems to work just like Shapely's contains method

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines