- 05 Dec, 2020 7 commits
-
-
Rahix authored
-
Rahix authored
Just playing around with the ECS, make the nodes orbit around "The Sun".
-
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).
-
Rahix authored
Add Sass variables for all the (primary) RC3 colors. Use them where appropriate.
-
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.
-
Rahix authored
-
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.
-
- 03 Dec, 2020 1 commit
-
-
Rahix authored
-