29 Commits

Author SHA1 Message Date
df55dcbd07 BG: Particle speed changes 2025-05-08 11:26:44 -07:00
9194ad98db "Correct" element grabbing 2025-05-08 10:54:12 -07:00
71e7662408 Add a manual light/dark mode switcher
Despite the simplicity of the commit title, this was a pretty big
change. The styling used to just go off of the system's color scheme,
but that can't be overridden. Instead, I have made a variable that
determines whether dark theme is active and made a small panel with some
buttons to change the theme. I had to change a lot of code to achieve
this and lost a lot of hair (I metaphorically pulled it out) from
writing this code.

I also changed things from legacy mode to rune mode (Svelte 4 to 5)
while I was at it, that wasn't too big.
2025-05-07 21:17:52 -07:00
e6dd87427b Homepage: Scroll arrow event listener bugfix
When you navigate away from the homepage then navigate back, it will
assign a new event listener to scroll without removing the old one.

This change makes it so the event listener is removed when you navigate
away, and is put back normally when you navigate back.
2025-05-05 16:59:17 -07:00
3c1aa4fbe4 Use OffscreenCanvas instead of HTMLCanvasElement for buffers 2025-04-02 20:35:09 -07:00
9b58e864a2 Proper image loading 2025-04-02 20:30:57 -07:00
4b99a1c26e Fix oversights in bg renderer
So it turns out the performance improvements were completelty neglected
because my code is bad. The buffer wasn't getting rendered to the canvas
in the best way, and there were too many particles for smaller screens.
I have now added a simple math equasion to the init function that
decides how many particles are needed based on the display size. It
still needs a lot of tweaking, and a more complex function is probably
necessary for good results. I'm still trying to get this background to
not suck and actually look good.
2025-04-02 19:49:37 -07:00
a3a774b964 Change particle color and ammount 2025-03-31 20:08:30 -07:00
ac3d579254 Massive performance improvement in background rendering
Turns out the performance bottleneck was actually rendering the
gradients every frame, so they are now rendering to a buffer when the
page loads once and that buffer is being rendered as an image every
frame. No functionality has been changed; but it runs so much faster and
is much more efficient on mobile devices.
2025-03-31 19:59:16 -07:00
db0ed8cb42 Add page metadata for each page and enable prettier-plugin-svelte 2025-03-31 16:36:32 -07:00
bf419426cf About page: add more text 2025-03-18 21:33:02 -07:00
fe14fd46e1 Colormatic Studios page: fix redundant and hard-coded values 2025-03-18 20:46:41 -07:00
a651520669 Zakarya page: Revamp and overhaul 2025-03-18 20:42:55 -07:00
679cdc078f Fix panel border in dark theme 2025-03-18 19:31:55 -07:00
5f52d9ec4d BG: remove gradient breathing effect
This was causing some rendering bugs, and I didn't want it anyways.
2025-03-18 17:24:24 -07:00
765b3542d1 Move custom styling and scripting into pages
The Zakarya page is a work in progress
2025-03-18 17:10:59 -07:00
6177d407d2 BG: fix particle rotation axis 2025-03-18 17:00:42 -07:00
3332d4ab89 Proper DPI scaling for the background canvas 2025-03-13 19:43:12 -07:00
13960ad144 Fixup main page 2025-03-13 11:09:20 -07:00
2587ddd721 Change bg shapes to SVGs and add more complex shapes 2025-03-13 10:46:04 -07:00
1a81d748df Add "under construction" panel 2025-03-10 12:07:42 -07:00
514b413281 Embed bg canvas style to Svelte component 2025-03-10 11:29:27 -07:00
6cbbe07371 Migrate background animation to a Svelte component 2025-03-10 11:25:36 -07:00
50d1ab00ca Big website changes (see full commit message for details)
- Moved navbar and footer styling to a seperate file
- New error page (only for dev server)
- Added BSON for Godot and set it as a featured project
- Changed featured projects layout
- Added header to homepage
- Added a scroll indicator to homepage
- Made links underlined
- Removed Twitter from Colormatic Studios links and added Colormatic Git
2025-02-22 17:31:58 -08:00
d3624273d7 Footer: Add contact email 2025-02-22 14:51:30 -08:00
513fe9ad94 Video player: Add svelte ignore comment to video element 2025-02-19 21:44:45 -08:00
0571f83a8e Revamp navbar and navigation menu 2025-02-19 21:37:55 -08:00
42f7d148b4 Change "var" to "let" in bg.ts 2025-01-29 17:43:40 -08:00
8edd629bfc Initial commit 2025-01-29 10:52:53 -08:00