New py5 Release: 0.10.7a0

Today I announce the release of py5 version 0.10.7a0.

Important Updates

Version Updates

This release includes the following version updates:

  • Minimum Python version is now 3.10 (previously 3.9)

  • JPype minimum version is now 1.6 (previously 1.5.2)

  • numpy minimum version is now 2.2 (previously 1.26)

Also, this py5 release includes the core jars from the latest Processing release, 4.4.6.

New Features

The Py5Image object has a new resize() method that works like the PImage.resize() method in Processing. This method was always a part of Processing but for whatever reason it didn't make it into py5 until now. By default this method uses bilinear sampling to resize, but it also supports nearest neighbor and bicubic sampling. See the Py5Image.resize() documentation for more information.

There were also some improvements to the build process but this is mostly behind the scenes.

PRs and Closed Issues

This release includes fixes for several issues:

  • #666 was fixed, so py5 should now work with FX2D on Windows 11 - many thanks to vsquared for identifying the coding error that caused this problem.

  • #578 has been resolved. The problem here was that py5 could crash on older macOS machines if a particular sequence of events occurred with the default JAVA2D renderer and the OpenGL renderer. This issue was a major thorn in my side for a long time, and I'm relieved that it is now closed.

  • #659 has been fixed. This issue caused problems when converting Shapely objects with only two vertices to Py5Shape objects for use in P3D mode.

What's Ahead

Immediately after this py5 release we will be focusing on finishing up a new version of py5's Thonny Plugin. There hasn't been a plugin release in a few years and we have many bug fixes and improvements that we very much want to get out to users.

In October I will be attending Python Brasil in São Paulo, Brazil. If you are going to be there, please say hi! I will be giving a talk about py5 and doing a workshop on py5 as well.

If you are in or near New York City at all during the month of September, I encourage you to head over to Times Square to see September's Midnight Moment, created by Marina Zurkow and me. The River is a Circle (Times Square Edition) was made with Processing and py5. This is a really exciting project and I am thrilled to see my work be a part of such a high-profile location.

That's all for now. Happy coding!

Comments