Skip to content

sourcedennis/non-euclidean-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

non-euclidean-grid

An interactive demo that renders a non-Euclidean 2D grid.

Demo - Blog Post

Non-Euclidean Grid

Building

Building requires Node.js, the TypeScript compiler (npm install -g typescript), Pug (npm install -g pug-cli), and Sass (npm install -g sass).

  • Build HTML with: pug index.pug
  • Build SASS with: sass style.sass style.css --no-source-map --style compressed
  • Build TypeScript with: tsc index.ts

Finally, the JavaScript file on the demo website is further optimized with the Closure Compiler. This is not necessary, but can be performed as follows:

closure-compiler --js index.js --js_output_file index.min.js

Otherwise, rename index.js to index.min.js (as the HTML file references the file by that name)

License

BSD-3 - See the LICENSE file

Releases

No releases published

Packages

No packages published