Mosquito

Tools to access streaming vectors maps and data sources such as Flickr, Twitter, Facebook, Google Maps, GeoData, StockMarket

 

...and a bunch of other stuff


Mosquito is a plugin suite developed for Rhino and Grasshopper. The plugin allows us to tap into social , financial and popular media. Extracting location, profiles, images and messages from Facebook,Twitter, Topsy etc….

As architects part of our responsibility is the consideration of the public realm. Today however , people tend to hang in the digital equivalent, namely, social media space. While this space becomes ever more permanent, the physical realm is fleeting, an evanescent space.

We are utilizing the tools in this component suite to bridge the gap between geometrics and information. Driving geometry with data and vice-versa. The ability to extract user Geo-coordinates, language, thoughts, profile and image enables architects to paint a picture. It is this  4-dimensional picture, which we refer to as “spatial condition”, that allows us to explore what happened yesterday, now and hypothesize about tomorrow. True 4-dimensional modeling.

Download 

http://www.synthetic.space/synthetic/mosquito/

by Carson Smuts

  • Navaneeth

    The mosquito model is fantastic. very creative!!

  • Carson Smuts

    Thanks :)

  • Philipp

    so awesome!

    and a wish for the future - is it possible for the search string component to somehow understand "?" and "*"  - this will give me the possibility to parse xml and json (or html) with the tags

  • Carson Smuts

    Philipp: could you elaborate?

  • Santiago Martín Laguna

    is it working on GH 0.9014? (at least not for me)

    looks veery nice ;)

  • Carson Smuts

    I programmed this based on 0.9006, because thats what my students use. I will upgrade the component though and make a 0.9014 version if someone can give me the installation files for 0.9006 so I can still help out my students if needs be.

    I'm sorry that it does not work on 14 :(

  • Carson Smuts

    just tried GH 0.9014 and it definitely works for me......What exactly was the issue you were having?

  • Santiago Martín Laguna

    it says... unable to connect to the remote server (turned in red of course)

  • Carson Smuts

    It needs access it the internet. Are you connected? do you have a firewall, i it block ing rhino?

  • Santiago Martín Laguna

    yeeh! It was because of the firewall, thanks!!

  • Carson Smuts

    Mosquito Update!

     

    GoogleDirection : get a route and the directions from one location to another, with distance, time, and steps.

    Location : Get the address of a given name of place or use a GPS point….reverse GeoCode.

    GoogleMaps: show google maps directly in the rhino viewport.

    GoogleStock: Access Googles stock market values on the NASDAQ, the NYSE etc.

     

     

  • Joseph Knight

    Very Cool! Thank you!

    I have been looking for something that creates curves from various map layers(ie roads, rails, Bike Routes)... Can any of these components do that?  Do you know of anything that could?

    Here is a conceptual study of the project if I wasn't able to describe adequately...
    http://www.youtube.com/watch?v=_OnzWaOz4Qk&feature=plcp

  • Carson Smuts

    Joseph: The plugin can find routes based on the physical address you give it. It will then find the appropriate route and give you back the time it takes to travel and the directions. You can also choose between cycling, walking or driving :) Does this help?

  • Joseph Knight

    I will continue to experiment and see how the plugin will help me out.  So far it works great.

    I'm actually looking for something that could create an actual vector map in rhino.  Preferably with closed curve for buildings etc... I know its a big wish

  • Philipp

    its great, hovewer google map component crashes the Rhino itself...

    Rhino 4 sr9 

  • Carson Smuts

    Mosquito Update! 0.2.1

     

    GoogleMaps: Now works for all user profiles

    My apologies , I forget that most people install their plugins via the components folder accessed through Grasshopper itself. So I have changed the directory this components looks for i.e.

    C:\Users\%YOURNAME%\AppData\Roaming\Grasshopper\Libraries

     

    If it is crashing rhino check the following:

    1. You need to have the "sonicmaps" folder in your components directory, it holds the tiles.

    2. You must not leave the "Reload" input on "True". Only use "True" when you want to load a new map, then change it back to "False".

    Let , me know if you have any trouble.

    Thanks to Philipp for pointing out this issue.

  • Yoshi Fukumori

    Hello! thanks for this amazing tool! I been working with this plugin a few days and today I have this problem, I don´t know what this mean,  I hope you can help me with my problem. Thanks for everything! Regards!

  • Carson Smuts

    Yoshi: You need to put all the files from the download into your components folder, including "Newtonsoft.Json.dll"

    Does that help?

  • Philipp

    Carson, is it possible to search only one group on facebook with your component? 

  • Carson Smuts

    Hi Philipp,

    I'll see if I can get it to do that:)

    Could you provide the Group name so I can test something?

    Thanks

  • Philipp

    SENSEable for example

  • Carson Smuts

    UPDATE 0.2.4:

    Bug Fixes: Fixed bugs with Twitter API access and new functions in String Duplicate component.

  • Carson Smuts

    UPDATE 0.2.5:

    Flickr: Search twitter database for photos based on location and tag/title.

    ImageDownload: Download images from Flickr or Twitter plugins.

    ImageMaterial: Map a image onto a nurb surface.

  • konrad k sobon

    Hi Carson,

    I was trying to fire up your Twitter Component. It worked for about 10 min and now I am getting this error:

    1. Solution exception:The remote server returned an error: (400) Bad Request.

    Any idea what might be causing it?

  • Carson Smuts

     konrad k sobon: Could you post your GH file, I will look into it right away.

  • konrad k sobon

  • Carson Smuts

    konrad k sobon: I opened the file and everything works fine when searching for "arch_laboratory". Twitter does limit the number of calls an IP_Address can make per hour, so if you are using a school network and sharing an IP and someone else is making hundreds of calls, then you will be banned for an hour.

    I believe the hourly limit is 350.....

    "Rate limits for unauthenticated requests are applied to the IP that we see."

  • konrad k sobon

    Carson,

    You are 100% right. I am not using a school network, but i put a Timer component on it and set it to 1ms which means that i timed out of possible connections in less than half a second. :-) My bad. I will try again and make sure that I set my timer to around 11 seconds to prevent it from reaching the hourly limit. Thank you for reminding me of that. I knew there was a limit, but forgot about it.

    Konrad

  • Carson Smuts

    No problem :) I forget things like that all the time, hope you find the plugin useful.

    Carson

  • konrad k sobon

    It already is. You probably noticed what I am going to do with it. I will use it to look for certain tweets that will become triggers. I was looking at using a Pachube Feed and control it from there, but this is much faster. Also, did you ever think about adding a possibility of reading Direct Messages? I am thinking that if i start sending some random tweets from my main account to control Grasshopper it will annoy my followers. I dont know if i want to create another Twitter account just for that purpose, but that might be a must.

    Thanks for help!

  • Carson Smuts

    Thats a nice idea, so by "Direct Messages" you mean that it would be a separate messaging database from Twitter? Or that it has its own twitter account?

  • konrad k sobon

    Separate database and it becomes another output on the Twitter component. That would be a good addition to your plug-in.

  • Jason Wheeler

    I'm really excited to try out some ideas with your plug-in, but I have no idea why I can't get it to work... I have checked to see if the Newtonsoft.Json.dll file is in the components folder and it is.  I have checked my Windows firewall and allowed Rhino 5 to access the internet... But I'm still having problems.  When I opening any of the example files they are red and give me a "Could not load file or assembly" error

    I am running Rhino 5 SR3 (I tried it on SR2 before I upgraded and same thing).. Grasshopper 9.0014.. Windows 7 64-bit.... all on Bootcamp on a new MacBook Pro

    Any ideas????

  • Jason Wheeler

    Let me re-states that I can't get the Media components to work... :)

  • Brandon Davis

    I'm getting an error saying this "Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified." I have the Newtonsoft.Json.dll in C:\Users\username\AppData\Roaming\Grasshopper\Libraries, but it will not work. Any help would be much appreciated.

  • Carson Smuts

    How to fix : "Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0,

    Drop the Newtonsoft.Json.dll into the Rhino 5 directory where you will find Rhino.exe...... this should fix the problem:) Let me know if it does not.

  • Brandon Davis

    Works perfectly, thanks! 

  • Carson Smuts

    UPDATE 0.3.0:

    FaceBook plugin Working again!: The plugins have been reprogrammed so to work with the new Facebook OAuth API.

    NEW Record Media plugin: Allows you to record social media information from the media components over time without duplicates. Might be complex for some to use at first. Check to example files included and it should be self explanatory, else send me a msg and i will try to help :)

  • Jacob

    I'm getting a message that says "the remote server returned an error: (403) Forbidden". Any ideas on how that could be resolved? Was originally getting the message "Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed". And followed the steps for that, but ended up with this other error.

  • Carson Smuts

    Which Plugin is giving you the forbidden error?

  • Jacob

    Its anyone of them so the "facebook, twitter, etc.." And the script is from the example files.

  • Scott Culler

    Has the Topsy tool been removed from version 0.3.0? It doesn't seen to be in the download.

  • Carson Smuts

    Hey Scott, yes Topsy has been removed due to them making there API a paid service.

    Sorry :(

  • Alex Webb

    Hey Carson-

    I'm getting the same "forbidden" error Jacob was getting as well.  I'm not getting it for FB, but I am getting it for Twitter.  I'm also getting a "unauthorized" error on the Twitter User Search.  Any thoughts?

    Thanks,

    Alex

  • Carson Smuts

    Hi Alex,

    I am getting the same error today.....aaaarrrh, twitter, they love to change their API every now and then which breaks the GH plugin. I will need to recompile the plugin sometime this week.

    Sorry :(

    I will let you know once its done.

  • Carson Smuts

    TWITTER plugin is DOWN for the time being , working on a fix

  • Carson Smuts

    Dear Alex, apparently the application key was suspended by Twitter, I have contacted them, and I am awaiting a response.

    Hopefully the issue will be resolved shortly.