GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pac-dev/dspnote: Create Notebooks with Interactive Figures

BranchesTags
Open more actions menu

Latest commit

 

History

48 Commits
48 Commits

Folders and files

NameName
Last commit message
Last commit date
dspnote
dspnote
 
 
example
example
 
 
.gitignore
.gitignore
 
 
pyproject.toml
pyproject.toml
 
 
readme.md
readme.md
 
 

Repository files navigation

DSPNote: Create Notebooks with Interactive Figures

Demo articles:

  • Log-spherical Mapping in SDF Raymarching
  • Notes on Waveguide Synthesis

DSPNote is a static site generator specialized in creating notebooks with interactive figures. Some features:

  • Generative audio scripts with parameters: scripts written in Sporth can be included directly in the text, with an optional block diagram, and run in-browser with sliders to control variables
  • WebGL shaders with parameters: GLSL ES fragment shaders can be included, with auto-generated image fallbacks
  • Math typesetting; code blocks with syntax highlighting

Installing and Using

DSPNote requires Python 3.9 or above. The following commands should work similarly on all platforms. Clone or download the repository (master branch), and in the resulting folder, run the command:

pip install --editable .

This installs dspnote along with its dependencies. The dspnote command can build or serve a project containing markdown pages. An example project is included to show the structure expected by DSPNote.

# Assuming "example" is the correct path the example project:
dspnote serve example # serves locally for development and testing
dspnote build example # builds according to example/config.yml
dspnote figshot example # generates shader image fallbacks (requires Selenium)

For a more complex project using DSPNote, see pac-dev/notes.

To create a new project, copy the example folder and modify it. Each Markdown file in the content subfolder will generate an article. Assets for each article (eg. GLSL sources, images) are in a folder of the same name alongside the Markdown file.

Prior Art

  • http://jupyter.org/
  • https://observablehq.com/
  • https://syntopia.github.io/Polytopia/polytopes.html
  • https://www.a1k0n.net/2018/11/13/fast-line-following.html

About

Create Notebooks with Interactive Figures

Resources

Readme
Activity

Stars

22 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.