Replies: 6 comments 16 replies
-
|
I tried to look into it and did some initial work. Please try the latest code (not the official release). Somehow I still did not get the philosophy of py5 and how to correctly use it, so I am not sure if current design is correct. So far only some very basic drawing can be done. Text is not supported yet. You can try something like this: |
Beta Was this translation helpful? Give feedback.
-
|
So, most of the functionality is now implemented. I have no experience with linux and their font management, but some fonts variants will be missing. For example, if bold and italic variants are within the same font file, they will be ignored. Only if they are separated into individual files. I still don't understand the py5 concept, therefore I have no idea how to implement the export() and show() utilities the same way other backends have. I tried the 'Class Mode' but no success. Please let me know if you have any idea. |
Beta Was this translation helpful? Give feedback.
-
|
Here is a bit more advanced test: |
Beta Was this translation helpful? Give feedback.
-
|
Do you have any idea why py5 adds "<g transform="scale(2,2)"" to every item in SVG. I guess it is because of monitor scale, but it is not consistent with the overall image size., which is not scaled. Any way to get rid of it? |
Beta Was this translation helpful? Give feedback.
-
|
Also, why is the PDF export rasterized? Any technique to keep it vector? It somehow defeats the main purpose of PDF. |
Beta Was this translation helpful? Give feedback.
-
|
I think most of the stuff is now implemented. In addition I would like to try interactive view implementation. There is still a problem with drawing paths. I did not found a good way to draw complex paths. For example, two circles should draw a donut shape, not two circles. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
I use py5 daily, right now I'm trying to finish my PhD and I don't have the time & energy, but, let's say in the future I wished to contribute to pero by adding py5 as a backend. It has all the graphic infrastructure of Processing, so I think it could draw everything shown in the examples.
Beta Was this translation helpful? Give feedback.
All reactions