Cabbage Logo
Back to Cabbage Site

svgTable example

Here’s a quick example showing how to draw the contents of a table to an image. It’s something that came up in discussion with @strapparts in another thread. Hitting the ‘draw table’ button will dynamically update the table contents and redraw the waveform.

The more points you draw, the long it takes to render the image, but it still quite fast, even with 1000 points. The upshot is you can style the look of the table any which way you want.

svgTable.csd (1.9 KB)

image

2 Likes

Just owesome!