I have just created a <table> with 100 rows and 100 columns.
Surely javascript can set the background colours of the cells to use
them as pixels?
For greater resolution, the cells could contain images of block-patterns.
The following HTML shows the rudiments of a diagram similar to the wide
one generated by the first button in <URL:
http://www.merlyn.demon.co.uk
gravity4.htm>, which is a representation of the tall thin one on the
right, lower down.
<table>
<tr><td>X Z Y L3</td><td style="width:333px"><hr></td>
<td>M</td><td style="width:44px; background=brown">M</td></tr>
</table>
Now javascript could *compute* that, enabling diagrams for different
mass-ratios.
a
<span style="width:77px;"><hr></span>|<span style="width:77px;"><hr></span>
c
Granted, Java should do better; maybe I'll learn it.
--
(c) John Stockton, Surrey, UK.
[email protected] Turnpike v6.05 MIME.
Web <URL:
http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links;
Astro stuff via astron-1.htm, gravity0.htm ; quotings.htm, pascal.htm, etc.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.