We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Different layout algorithms in Ben Fry's Treemap
Page Index Toggle Pages: 1
Different layout algorithms in Ben Fry's Treemap (Read 1334 times)
Different layout algorithms in Ben Fry's Treemap
Nov 6th, 2009, 10:56am
 
I've got a nice music vis working with the Treemap class. Super easy and _fast_.
http://www.youtube.com/watch?v=KGWDCM55RhI
I've tried to use the different layout algorithms, but I can't see any difference. I worked from Ben's example code. Anyone have any advice?

 MapLayout algorithm = new SquarifiedLayout();
 Treemap map = new Treemap(mapData, 0, 0, width, height);
 map.setLayout(algorithm);
 map.draw();
Re: Different layout algorithms in Ben Fry's Treemap
Reply #1 - Nov 6th, 2009, 11:41am
 
I like the other visualisations too. how did you create the yellow text btw ?
Re: Different layout algorithms in Ben Fry's Treemap
Reply #2 - Nov 6th, 2009, 12:02pm
 
Wings3D, something in the pipe between its obj output and the objloader library loses half of the edges and you get that nice crunchy wireframe Cheesy

er, I mean, it's totally on purpose.
Page Index Toggle Pages: 1