Published
Edited
Oct 20, 2020
2 stars
Insert cell
Insert cell
Insert cell
verticalLines = 20
Insert cell
horizontalLines = 10
Insert cell
strokeStyle = ``//`stroke-dasharray="5,5"` // set it empty `` to have full lines
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
lines = _ => {
var res = ``
for (var i = 1; i<verticalLines; i++){
var y = (templateHeight/verticalLines) * i
res += `<line ${strokeStyle} x1="0" y1="${y}" x2="${templateWidth}" y2="${y}" stroke="black" />`
}
for (var i = 1; i<horizontalLines; i++){
var x = (templateWidth/horizontalLines) * i
res += `<line ${strokeStyle} x1="${x}" y1="0" x2="${x}" y2="${templateHeight}" stroke="black" />`
}
return res
}
Insert cell
md`## Ideas to go further

* send SVG directly to the device via rmAPI using a Glitch backend and token (could be stored on local storage)
* or Node microservice on own server (could pass the token via URI or POST parameter)
* web template e.g. https://1440px.com/
* inspiration from https://www.reddit.com/r/coolguides/comments/hevvoc/note_taking_methods/
`
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more