geekhack

geekhack Community => Other Geeky Stuff => Topic started by: ImperfectLink on Sun, 26 April 2020, 14:12:16

Title: Keycap Colorizer WebGL app.
Post by: ImperfectLink on Sun, 26 April 2020, 14:12:16
I haven't been on here in a long time but I made a thing to show that I haven't forgotten about you:

https://twitter.com/ImperfectLink/status/1254190100793212938 (https://twitter.com/ImperfectLink/status/1254190100793212938)

Use the colour pickers to set keycap and legend colours then click the individual keys you want to change. I'm still getting into the WebGL development so please forgive any rough edges. Also feel free to make suggestions although there is no timeline set for changes.
Title: Re: Keycap Colorizer WebGL app.
Post by: ImperfectLink on Mon, 27 April 2020, 07:47:36
Added a deskmat button.
Title: Re: Keycap Colorizer WebGL app.
Post by: 1391401 on Fri, 01 May 2020, 14:12:51
I tried for a black text on grey keycap color scheme and it got this strange red glow and the entire keycap turned green
Title: Re: Keycap Colorizer WebGL app.
Post by: ImperfectLink on Fri, 01 May 2020, 14:20:11
I tried for a black text on grey keycap color scheme and it got this strange red glow and the entire keycap turned green

Thanks, you can please give me some info on how to reproduce this? Browser, hex code etc.
Title: Re: Keycap Colorizer WebGL app.
Post by: 2truth on Tue, 12 May 2020, 20:22:01
This is nice! I was considering making something like this the other day since I hadn't seen anything like it. Good work, bookmarked :)
Title: Re: Keycap Colorizer WebGL app.
Post by: ImperfectLink on Wed, 13 May 2020, 07:07:32
Thanks. I plan on supporting more profiles and layouts in the near future.
[attachimg=1]
Title: Re: Keycap Colorizer WebGL app.
Post by: 1391401 on Fri, 15 May 2020, 11:57:16
This happens basically every time I try to use it in Chrome (on Ubuntu and on my Chromebook): https://imgur.com/DovlW94
Title: Re: Keycap Colorizer WebGL app.
Post by: ImperfectLink on Fri, 15 May 2020, 12:44:50
You mean to say that you don't want a red glowing teal key set? I think I got it figured out. It seems to happen when I type ffffff into the field but not choosing white in the colour picker. I'll try to remedy this thanks.
Title: Re: Keycap Colorizer WebGL app.
Post by: 1391401 on Fri, 15 May 2020, 13:46:19
Yeah - I am definitely typing in the values and not using the color picker
Title: Re: Keycap Colorizer WebGL app.
Post by: ImperfectLink on Fri, 15 May 2020, 14:01:21
Okay, try this now:

https://tinyurl.com/yato9ssw (https://tinyurl.com/yato9ssw)

The issue was coming from it being 6 digits but not a number eg. #FFFFF so I added an extra condition. I appreciate the help thanks.