/cantors_colors

A visualization of repeated fractions in Georg Cantor's proof that rational numbers are countable

Primary LanguageElm

cantors_colors

TODO: make blog post - https://www.homeschoolmath.net/teaching/rational-numbers-countable.php TODO: make static site with https://cloudblogs.microsoft.com/opensource/2019/04/05/publishing-github-pages-from-azure-pipelines/

Install

Base

Visual Studio Code

  • Install elm-format: npm install -g elm-format
  • Install VS Code from https://code.visualstudio.com/
  • Add code command to PATH for command line usage
    • Cmd-P (Mac) or Ctrl-P (Linux): Launch Command Palette
    • Type > Shell Command: Install code command in PATH
  • Install Elm Extension
    • From Command Line: code --install-extension sbrink.elm
    • From Web: https://marketplace.visualstudio.com/items?itemName=sbrink.elm
  • Restart VS Code

Use

elm-live

  • Install: npm install -g elm-live
elm-live src/Main.elm --open -- --debug

Useful Learning Links