1. 05 Dec, 2020 7 commits
    • Rahix's avatar
      Add README and a license · dcf818fc
      Rahix authored
      dcf818fc
    • Rahix's avatar
      components: Add some orbital movement to the nodes · fbdb2636
      Rahix authored
      Just playing around with the ECS, make the nodes orbit around "The Sun".
      fbdb2636
    • Rahix's avatar
      www: Add RC3 fonts · 6e6d98aa
      Rahix authored
      Add both Orbitron and Montserrat as font-families to the Sass
      stylesheet.
      
      Montserrat should be used for running text, with "regular" font-weight
      and Orbitron is meant for headers, in the "black", "bold", "bold",
      "medium" font-weights (descending header levels).
      6e6d98aa
    • Rahix's avatar
      www: Add RC3 colors to stylesheet · 188f2c8b
      Rahix authored
      Add Sass variables for all the (primary) RC3 colors.  Use them where
      appropriate.
      188f2c8b
    • Rahix's avatar
      www: Add Sass stylesheet · c9be0fb4
      Rahix authored
      Don't embed the stylesheet into the HTML; use Sass instead.
      
      Loading the stylesheet is magic: Apparently, webpack will insert
      a <link> tag into the HTML during bundle loading.  I was not able to
      make it emit a proper static CSS file so far; this should probably be
      revisited at some point.
      c9be0fb4
    • Rahix's avatar
      www: Restructure directory · 70db4d19
      Rahix authored
      70db4d19
    • Rahix's avatar
      Start working on an actually useful prototype · aa678e3e
      Rahix authored
      - Make the canvas fit itself to the screen.
      - Add an SVG overlay which we can use to easily detect click-events in
        certain places (use only SVG for rendering maybe?).
      - Rename `src/lib.rs` to `src/main.rs` as that's what people are used to
        (the fact that we are building a cdylib is irrelevant for this).
      - Add a utils.rs module and move things like request_animation_frame()
        there.
      - Add a global timer/clock resource.
      aa678e3e
  2. 03 Dec, 2020 1 commit