Problems? Is your data what you think it is? | |
PerlMonks |
Re^5: Creating a circle in a data structureby BrowserUk (Patriarch) |
on May 29, 2007 at 22:00 UTC ( [id://618058]=note: print w/replies, xml ) | Need Help?? |
That color-codes the center going out (and would go to the edge of the circle, if I had enough CSS classes). You could use the code from A hierarchy of color (intensity)? to generate your CSS classes to form a Color ramp. Below I've used 256 which seems to strike the best balance between smoothness and rendering speed. I also added cellspacing=0 to the table definition as it much improves the appearance.
Is your purpose to generate the structure and the table graphic is just a way of demonstrating it? Or is the display of the result the real objective? If the latter, it would probably be much faster and use less bandwidth to render to a .png using GD(or similar) and then link the image. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|