-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demos #3
Comments
Hi @gedw99. Sadly, I wasn't organised enough. Some demos, I just threw them away or replaced the code for other demos... I didn't thought back then that I was building GraphX. The gifs are just a bunch of videos I had all over my Desktop, from posting messages in Discord and Flutter groups. A few demos are mostly Also, all samples are quick prototypes made while testing (and adding) capabilities in the framework. Sorry about that, but i'm hoping we can create even cooler stuffs! I'm glad you like the demos though :) I'm expecting some feedback from users, at least to check if the community likes the idea, and also trying to find the time to make some introduction videos. If you have any request for a specific demo, or concept that you wanna see in GraphX, please, let me know and I will do my best to recreate it and post the code. |
You asked about use cases. I would like to build an svg editor in flutter. Flutter has good support for using svg and svg is very useful because of its vector and so removes a raft is issues. But an editor would be quite cool. Graphic would be used for the overlay tooling. Like bezieht splines, text editing boxes, color swatches, and a long list of similar things needed to make an editor. I have built tooling like this before for other graphics systems related to the 2d and 3D Domain for chi and cad and a CQRS pipeline is imho a best practice approach for building a system where you need to build other things ( the actual svg ) in real time in response to changes in the Editor. Svg primitives like Layers etc etc are modeled in the writable data model and the CQRS pipeline takes events with a payload then then updates a data model that describes a real svg. In the end you get a WYSIWYG Editor. This is also how real time game systems are built. Would be cool to know what you think. |
Thanks for your kind words @idootop , the Regarding the demos, as i mentioned before... its a mess of experimentation: I believe those particles demos are being rendered with
Anyway, I am aware that I have to explain lots of things probably... most people don't have a background on drawing things on the screen with a Flash API style. @gedw99. You might wanna use SceneBuilderWidget(
builder: () => SceneController(
front: YourScene(),
config: SceneConfig.tools, // <<< this one
),
), Beware that SVG parsing is heavy on the CPU... Skia is awesome for rendering performance, but if you have complex drawings svgs, you might wanna reduce the load on the CPU (and GPU as well), maybe converting the SVG Shape into a Picture or an Image (most performant) ... as rendering cache. Maybe you will be fine. Thanks for the input guys! |
@roipeker ^_^ Thanks for your patience in replying, I'm going to try it. |
@idootop you should close this issue now. Cause this repo has a lot of examples now. |
Thanks guys, i will close it now. |
@roipeker Its cool :) Really loving this project. Its opening doors for me in terms of what is possible with Flutter. Sorry i did not reply. Was busy with work stuff. |
@roipeker I brought you 5 coffees mate !!! |
This is really cool.
Any chance you can publish the demos that are animated gifs ?
The text was updated successfully, but these errors were encountered: