Skip to content
thinginoPublic

About

Short thingino tutorials that play in the browser

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

thingino tutorials

Short tutorials that play in the browser: https://thingino.github.io/tutorials/

They are not videos. A scene either plays on live pages (the real page of the thing being taught, running on a simulated device, worked by a drawn pointer with captions) or is a drawn animation. Pause a live scene and the page in the frame is yours to click around in.

Sets

  • backpack/: the thingino backpack. Setting it up, the hookup to a camera, flashing with a clip, and a tour of its page.

Building

python3 build.py        # into _site/
python3 -m http.server -d _site

Python 3 and nothing else. A push to main builds and publishes the site (.github/workflows/pages.yml).

How a set is made

  • lib/live.js plays a scene on live pages. A scene is a JSON file of steps (backpack/scenes/*.json): each step loads a page into a frame and runs actions on it (click, type, choose, wait, a caption). The actions are listed at the top of lib/live.js.
  • The pages are the real ones, with a stand-in for the hardware loaded ahead of their own script: backpack/sim/backpack-shim.js answers the backpack page's requests the way the firmware would, and plays a captured camera boot into its terminal.
  • lib/player.js and lib/anim.js play a drawn animation with an optional narration (backpack/hookup/).
  • backpack/vendor/backpack-ui holds the firmware's pages; ./sync-backpack.sh refreshes them from a thingino-backpack checkout.

Credits and licences

The site's own code is under the GNU General Public License, version 2 (LICENSE), as the backpack firmware whose pages it runs.

  • The install step shows the Adafruit WebSerial ESPTool by Melissa LeBlanc-Williams for Adafruit Industries, MIT licence (backpack/vendor/espflash/LICENSE.md), with its header and footer cropped and its flashing library replaced by one that only prints.
  • Montserrat is under the SIL Open Font License 1.1 (backpack/vendor/backpack-ui/fonts/OFL.txt).
  • The narration is voiced with ElevenLabs.

About

Short thingino tutorials that play in the browser

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages