A Flexbox Style Layout Manager for Py5 #677
TyTodd
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
Wow, @TyTodd , this is really amazing, I am thrilled that you made this! I just gave you your first github star. I love your tool-building creativity. It is so exciting for me as the author of the library that someone will come along and do something neat that I never would have thought of. Something I've wanted to develop is the opportunity for others to make py5 extensions such as this so there can be community supplied libraries, similar to what Processing and p5.js have. This is the first one and I can definitely see myself and others using this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've chosen to build a lot of my projects using processing. The ease of use and flexibility makes it a great prototyping tool, but sometimes its too flexible. One painpoint I often run into on every project is building the infrastructure to lay everything out in a neat and organized way, and its times like this I wish py5 had something like flexbox. I know JavaFX is a thing but sometimes that is too overly complicated for what I want to do and it doesn't flow very nicely with the other py5 rendering tools. So I finally had enough and I built a flexbox layout mananger for py5 using the same layout engine that powers React Native, yoga.
Wasn't sure if a layout manager would be that useful for processing but I've actually enjoyed using it so far. It allows you to control styling and layout in the draw loop with python logic.
It also integrates very well with the normal py5 flow. And you can create custom components (just like in React) to embed your animations in the layout.
If this is at all interesting to you, you think its useful, or you are interested in contributing feel free to respond to this thread or reach out on the project's github.
You can find the project here:
And here is the pypi page:
Beta Was this translation helpful? Give feedback.
All reactions