You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a major release with big improvements to py5's functionality. This release was a lot of work!
What Changed?
You can read about all of the changes and the reasons behind them on the maintainers blog. The main highlights are:
Processing Mode - gives Processing users a new callPython() method to make arbitrary calls to Python. Here, py5 functions as a bridge from Java to the Python world
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is a major release with big improvements to py5's functionality. This release was a lot of work!
What Changed?
You can read about all of the changes and the reasons behind them on the maintainers blog. The main highlights are:
callPython()
method to make arbitrary calls to Python. Here, py5 functions as a bridge from Java to the Python worldPy5Vector
to make it more consistent with Processing's PVector classcreate_image_from_numpy()
method now supportsBGR
andBGRA
color channel orderingAPI changes
get()
method has been renamedget_pixels()
and a new methodset_pixels()
has been addedrandom_choice()
method has been renamedrandom_sample()
and a new implementation ofrandom_choice()
has been createdNew Contributors
Bug Fixes
vertices()
, and other functions that expect collections, when arguments provided are empty? #195set_pixel()
andget_pixel()
methods #198random_choice()
returns a numpy array, is this by design? #199random_choice()
on a list ofPy5Vector
returns a list ofnumpy.ndarray
#200__str__()
and__repr__()
#209imported.run_code()
#231create_image_from_numpy()
should support 'BGR' color channel ordering #247Full Changelog: py5-1286-0018-0.8.3a1...py5-1292-0019-0.9.0a0
This discussion was created from the release Processing Mode and Hybrid Coding.
Beta Was this translation helpful? Give feedback.
All reactions