Skip to content

mkaatman/demo-traveler

 
 

Repository files navigation

Star Traveler - 1K JavaScript Demo

This is a demo for JS1024, July 2020. Final size is 1006 bytes. Tested in Firefox, Chrome, and Safari (desktop).

First place in 2D canvas category! (JS1024 Results - 2020)

JS1024 entry

Mountain flyby

How can I see it?

The demo can be seen live on the JS1024 website: Star Traveler (JS1024).

Alternatively, you can open the file final/demo.html in your browser. For now, you can download it from GitHub here: demo.html (right-click and “save link as”)

A recording is available on YouTube: Star Traveler (YouTube)

Building

You must first make sure the Git submodule (RegPack) is checked out, and the Yarn dependencies installed.

$ git submodule init
$ git submodule update
$ yarn install

You can build the demo with:

$ node ./build.mjs build

For an auto-reloading development server, run:

$ node ./build.mjs serve

Recording

You can record the demo using WSCapture.

$ wscapture

Then visit https://localhost:8080/record.html to capture a video.

About

A 1K JavaScript demo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.1%
  • HTML 23.4%
  • Python 3.2%
  • Shell 1.3%
  • CSS 1.0%