Return to “Technical”

Post

fun stuff ... visualizing a Json files with WebGL

#1
First of all, thanks Josh!
Your project is an inspiration, and I very much enjoy reading your development blog...
I presently work on visualizing metabolic activity inside the human cell for a bunch of biologists.
I stumbled upon your UI video and I thought of having some fun playing around with a mini/simplified webGL adaptation of your UI...
If you use Chrome, you can visualize the content of json file at: http://sysbio3.fhms.surrey.ac.uk/file-ui11.html (presently a list of metabolic reactions). (up down arrow to move - left mouse click to rotate, right click to pan, and click on nodes to edit their content when they are not arrays) This is a very early version as I just spent a couple of days on it, so I apologize for the still buggy/primitive design. I would like to somehow make a fun and useful editor for creating/changing a metabolic network of chemical reactions with simulation parameters.
I'll have more interesting features on it soon, but really, thanks for being a source of inspiration !

By the way, I happen to have some experience in AI/machine learning, and I was wondering if you had considered the following for your game: the type of AI they use successfully for the game of GO - stochastic exploration of the search space + a bit of greedy + a bit of backtracking - see: Monte-Carlo tree search (see http://en.wikipedia.org/wiki/Monte-Carlo_tree_search )
Merry Christmas!
Cheers!
Post

Re: fun stuff ... visualizing a Json files with WebGL

#2
Hi,

Just to say I have put a slightly more interesting webGL version of a json file visualiser inspired from Josh system.
see http://sysbio3.fhms.surrey.ac.uk/file-ui19.html
Still not perfect, but some of it is getting interesting.
I understand some of the issues you were having with super-long lists, Josh. It is actually quite hard to make a system that can adapt to all possible kind of file structures and look good in all cases...
When selected the "curved" mode, the whole data looks like a giant vinyl disc when zooming out with the x button...
It is also now possible to upload any (as long as properly formatted) json file to visualise it...
Cheers!
Post

Re: fun stuff ... visualizing a Json files with WebGL

#5
BFett wrote:I have google Chrome installed and I only get a black screen when I go to your links. Where can I get this Json file you are talking about?
Hi,

I am not sure why your screen is black.
I have just tested my link http://sysbio3.fhms.surrey.ac.uk/file-ui19.html and it is is working fine from several different computers. The link works on OSX, windows and linux chrome. It would also work on android chrome if you enable webgl.
The one requirement to see it is that you have a graphic card (any nvidia/amd would do) in your machine (number one requirement for webgl technology).
Perhaps use the refresh button on your browser, or try from a machine with a graphic card?

Cheers!

Online Now

Users browsing this forum: No registered users and 9 guests

cron