Skip to content

Extending Skia2D renderer

Compare
Choose a tag to compare
@tushar5526 tushar5526 released this 15 Nov 06:37
· 27 commits to master since this release
ff54444

v0.8.1

We are happy to announce the final developmental release under the summer fellowship at The Processing Foundation
The project was supervised by Mark Zhang. This release adds on to the experimental 2D renderer using Skia.

New Features

Typography support for skia #371

- p5py now support all types of fonts as found in other processing ports
- 5x efficiency in font sketches as compared to vispy renderer

Image APIs for "skia" #344

Support for Offscreen buffers #386

- create_grahpics is now available in p5py's skia renderer

Support for python 3.10 #395

- Please see the attached note below

This release includes contributions from @tushar5526, @ziyaointl, and @Mr-Sunglasses, Thank you!

PS: There are a lot of good open issues that currently need help and we would love your contributions!

NOTE

pyopengl-accelarate is omitted from the requirements.txt temporarily. See #397 for more information about this. If you are looking for better 3D performance you can install it from the requirements.txt file.

benchmark with pyopengl-accelerate without pyopengl-accelerate change
arcs 8.944169 9.764988 9.18%
arm 2.612446 2.611884 -0.02%
basic_shapes 2.629553 2.688781 2.25%
begin_contour 2.684205 2.711441 1.01%
curves 4.766132 4.962305 4.12%
custom_shapes 4.643741 4.754362 2.38%
custom_shapes2 3.75905 3.791483 0.86%
point_demo 2.880713 2.939999 2.06%
primitives 3.651718 3.717032 1.79%
spinning-cone_p3d 9.417307 9.437273 0.21%
tetrahedron_p3d 8.114283 8.203861 1.10%
triangle_strip 3.228278 3.228012 -0.01%
world_p3d 26.883501 26.991062 0.40%