Featured Posts

A method for JIT'ing algorithms and data structures with LLVMA method for JIT'ing algorithms and data structures... Hello folks, I always post about Python and EvoComp (Pyevolve), but this time it's about C, LLVM, search algorithms and data structures. This post describes the efforts to implement an idea: to JIT...

Readmore

Send Subversion commit messages to TwitterSend Subversion commit messages to Twitter Hello, this is a bridge between Subversion (svn) and Twitter, the intent of this tool is to update a Twitter account when new commit messages arrives in a Subversion repository. We almost never have access...

Readmore

An analysis of Benford's law applied to TwitterAn analysis of Benford's law applied to Twitter Benford's law is one of those very weird things that we can't explain, and when we discovery more and more events which obeys the law, we became astonished. Two men (Simon Newcomb - 1881 and Frank Benford...

Readmore

TSP on Nokia N73 using PyS60 and PyevolveTSP on Nokia N73 using PyS60 and Pyevolve As I promised on the post about Pyevolve on N73, I've ported the TSP problem to run on the cellphone. The script will draw the best individual of every generation on the screen using the PyS60 Canvas API....

Readmore

Python: acessing near real-time MODIS images and fire data from NASA's Aqua and Terra satellitesPython: acessing near real-time MODIS images and fire... From Modis Rapid Response System site: The MODIS Rapid Response System was developed to provide daily satellite images of the Earth's landmasses in near real time. True-color, photo-like imagery and...

Readmore

  • Prev
  • Next

Twitter in 3D !

Posted on : 22-02-2009 | By : Perone | In : News, Python, Time Waste

8

I was doing some tests on the Ubigraph dynamic graph visualization tool and I have this idea to use the Ubigraph tool to render 3D graphs of Twitter friends on real-time. Follows the video of the scripting utility I’ve created, it starts with a red node of your twitter and when you click, it shows your friends, when you click on your friends, it shows their  friends, and so on. I think it is interesting those social network graphs, when I got more time I’ll put more ideas on the pratice =)

Update (26/02): download here the script source-code.
To use it, you must install python-twitter, use the easy_install:

easy_install python-twitter

I’ve tested with Python 2.5, but it should works on 2.4 and 2.6 too.

Start the Ubigraph visualization server and run the script. The syntax for the script is like this:

python twitter3d.py -u username

You can get a help using:

python twitter3d.py –help

Share:
  • Reddit
  • del.icio.us
  • Digg
  • Mixx
  • Slashdot
  • StumbleUpon
  • Technorati
  • Facebook
  • TwitThis
  • description
  • Live
  • NewsVine
  • Ping.fm

Comments (8)

Brilliant!

It looks awesome!!

Awesome!

I was looking for something like this to use with python.

Is it difficult to work with?

Thanks :)

Hi there,

Was this based on the callback_webcrawler.py script included in the examples?

I’d love to take a peek at the source, it looks like really good fun! :D

Hello Roo, it’s based on the use of a callback to expand the nodes (which represents a twitter account), but it have some issues to avoid the insertion of repeated users, etc… I’ll release code this morning, I just need to remove some ugly code from the script.

Hey Perone,

Thanks for releasing the code! I’ll be having a play with it and see what I can come up with!

It’s great.
Nice blog.

Thanks !

Loved the blog :D

Write a comment