Grasshopper

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).

Views: 577

Comment

You need to be a member of Grasshopper to add comments!

Comment by Mateusz Zwierzycki on May 20, 2013 at 6:51pm

@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. 

Comment by Andy Payne on May 20, 2013 at 5:47pm

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. 

Comment by Mateusz Zwierzycki on May 20, 2013 at 4:06pm

@Andy - So the solution is fairly easy - webbrowser control in form, file path as url. Et voila!

Comment by Mateusz Zwierzycki on May 20, 2013 at 3:41pm

@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 ?

Comment by Andy Payne on May 20, 2013 at 1:41pm

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.  

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service