First public version, on GitHub with a browser version of the editor.
The browser version keeps many drawings: named tabs, folders, pins, thumbnails and search inside drawings (All boards, Cmd/Ctrl+P). Open boards keep their own Undo. Version history, a 30-day trash and workspace ZIP backups recover work; restoring never overwrites what is there.
Its project explorer holds projects of nested canvases written as one master Markdown document, editable from either side: headings are canvases, paragraphs, lists, code and images their content. Projects present as a browser slideshow and export to PowerPoint with editable text, to PDF, and to a portable ZIP.
Scratchy.mount() gains optional initialViewport, onStateChange and
onLibraryChange, controller.set({ name }) renames without remounting,
and exportScene() accepts a frameId. R and denr callers are unchanged.
Renamed from excalidrawer to scratchy. Drawings tag what R generated in
customData$scratchy (it was customData$excalidrawer).
excalidraw() gains an scratchy sidebar (extras = TRUE, the button
next to Library): the twelve sticker libraries, Open Peeps people, the style
presets, Mermaid diagrams, and exports to PNG, SVG, editable SVG, a
self-drawing animated SVG, .excalidraw and Obsidian .excalidraw.md.
The editor's JavaScript is now one core, Scratchy.mount(), shared by
the R widget, the browser version and denr's Sketch panel.
Plots are read from svglite's output with a small built-in parser instead
of xml2 (now only suggested): xml2's WebAssembly build crashes webR when it
reads such SVG twice, which broke as_excalidraw() in denr. Conversions
are unchanged.
exc_save() to PDF falls back to R's pdf() device (text as outlines)
where cairo can't load, as on macOS without XQuartz.
GIFs from exc_animate() play the animation even on computers set to
reduce motion (the recording emulates no preference).
Cascadia Code is now Microsoft's own static Regular and Bold, unmodified, instead of instances made from the variable font (its name is reserved under the OFL). Text looks and measures the same.
shiny and bslib moved to Suggests: only Sketch Studio and exc_edit() use
them, so the package installs faster (also in webR).
Sketch Studio offers the Penguins data only on R 4.5 and later, where
datasets::penguins exists.
First version.
.excalidraw, .excalidrawlib, Obsidian .excalidraw.md,
and SVG/PNG images with the scene embedded.exc_animate() saves a scene as an SVG that draws itself (strokes traced in
z-order, fills fading in, text written letter by letter), or as a GIF
recorded in headless Chrome.as_excalidraw() and sketch() for ggplot2 and base graphics;
theme_excalidraw() and Excalidraw colour scales; annotations placed with
data values.exc_edit() gadget; Mermaid conversion and exact exports via headless Chrome.run_sketch_studio()), a Shiny app for hand-drawn charts.excalidraw-revealjs slides and PowerPoint export.