157 points · by grzm · 6y ago · 15 comments
Seems their platform is nice for playing, yet unable to use for professional purposes?
Some people use it to build text-heavy reports which are more like observable notebooks [1], and some folks use it for more grid-like dashboards [2].
We have private support for hosting - or you can just export and self-host your HTML report using our open source library: https://github.com/datapane/datapane
[1] https://datapane.com/u/khuyentran1401/reports/interactive-pl...
Here's an example notebook that shows p5.js use (with Python interop as a bonus): https://starboard.gg/nb/n3DYopT
It supports local or self-hosted editing and viewing [1] and is all open source.
[0]: https://starboard.gg [1]: https://github.com/gzuidhof/starboard-notebook and https://github.com/gzuidhof/starboard-cli
EDIT: actually you probably want https://observablehq.com/@tmcw/using-observable-with-a-local... which allows you to retreive data from localhost
Mind-blowing. Especially those printed using a plotter.
As a software engineer, you also have an advantage of having the curiosity to explore and understand how it actually works.
https://observablehq.com/collection/@observablehq/notebook-f...
Gets me thinking: our sophisticated world is created using layers upon layers of derived probabilistic algorithms, and the top layer may well be just one simple algorithm.
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
There's a whole book about it! svg`<svg width="${w}" height="${h}">...
${array(500).map(i => `<circle
transform="translate(${w / 2}, ${h / 2}) rotate(${randInt(360)})"
cx="0"
cy="0"
r="${50 + i * 3}"
fill="none"
stroke="${palette[randInt(1, palette.length)]}"
stroke-width="${randInt(2, 32)}"
stroke-dasharray="${array(200).map(() => randInt(800)).join(' ')}"
/>`).join('\n')}
...
https://observablehq.com/@makio135/generating-svgs/4Also, if anyone is doing creative/visual coding on another platform and tracking their work with Git, check out Git Gallery. It integrates with the code revisions to let you visually track changes: https://github.com/thatcort/git-gallery