algorithmic modeling for Rhino
Generating the svg vector graphics with GH is fairly easy (at least simple shapes). The problem is how to display it properly... The proposed solution uses Chrome as display window with auto-reloading page (1 second interval gives quite nice workflow).
Tags:
Comment
@Andy - Thanks. My aim is to create more "pretty" vector graphics with grasshopper. I know that SVG enables a lot more (animation, linking etc.) but at this moment I'am just playing with basic stuff and general workflow.
Cool. I didn't realize you were trying to launch a local form. I thought you were trying to send GH data over to the web directly (which still should be possible). Although again, you seem to have come up with a good solution if running locally. Nice to see this investigation.
@Andy - Thanks for your opinion. I'm looking for an easier method (easier for me as same as for the end user). The question is - should it be instantaneous ? how about big files ?
Wouldn't using something like Socket IO be better? If you store the data in the cloud and emit the SVG data using Socket IO, then the update would be nearly instantaneous (at least much fast than 1 fps). Although this means you would also need a server side application... but perhaps would be a more efficient solution.
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!