Stickyflow LaTeX
Stickyflow LaTeX draws SFL figures while a document compiles with LuaLaTeX. The renderer is stickyflow.js itself, translated to Lua, so a chart, a diagram or a plan looks the same in the PDF as in the browser, and its texts are set in the fonts of the document. The package is two files and needs nothing outside TeX, so it works on Overleaf. The PDF carries the SFL of every figure, so a viewer that knows SFL can make it live again.
Download the packageWrite SFL in a .tex document and get the figure when the document compiles: no external renderer and no shell escape.
A paper that answers back
A paper written in LaTeX with this package, opened in the stickyflow viewer: the fitted curve follows its sliders, the scenes turn, the instruments run. Then the same figures as they stand in the source, a few lines of SFL in the document.
A sample paper, opened in the stickyflow viewer. Every figure is drawn again in the place of its picture: the model is fitted to the measurements by hand, the field of densities is turned and its columns rise, the house slides open on its rails, the watch charges its battery. Outside the viewer the same pages show the printed pictures.
Write
Put the SFL of a figure into the document, or keep it in a file next to it, with its data as JSON.
Compile
Compile with LuaLaTeX. The figure is drawn as part of the page, and its source travels inside the PDF.
Open
Every reader shows the figures as pictures. The stickyflow viewer draws them live, with their sliders and scenes.
Read the source.
The renderer, the parser, and every tier above them are open. Read the code, file an issue, or fork it and render SFL your own way.

