Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rikroots
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
rikroots
1y ago
I agree with the colorspace alert. Lerping red and blue in OKLAB or OKLCH colorspace produces a much nicer effect. Also, the article details linear interpolation, but I think there's a lot of fun to be had by introducing some easing fu
92.
▲
by
rikroots
2y ago
My personal preference is for (say) 15-20 years. And, as a content creator, I practice what I preach - at least when it comes to my poetry: https://rikverse2020.rikweb.org.uk/blog/copyrights
93.
▲
by
rikroots
2y ago
You can achieve a gaussian blur effect using an infinite impulse response thing[1]. Some very clever people at IBM came up with the idea, and some other very clever people translated that code to Javascript and stuck it on GitHub for the re
94.
▲
by
rikroots
2y ago
Two places in particular where people need to think about progressive enhancement: + Low-powered or -specified devices don't like Javascript-heavy elements. For example, canvas elements - do people with steam-powered mobile phones real
95.
▲
by
rikroots
2y ago
I assume this is about the Canon[1] thing? And who gets to be the Gatekeepers - the people who decide which writers and works get included and excluded in each generation's version of the Literary/Musical/Artistic Canon thing
96.
▲
by
rikroots
2y ago
Still writing a Dev Runbook for my canvas library. I forgot how much of a monster it's become over the years ... https://github.com/KaliedaRik/Scrawl-canvas/pull/119
97.
▲
by
rikroots
2y ago
> The problem is that our brains are designed to sort of lie to us and tell us that what we've created is amazing when in fact we'd never actually read it if someone else had written it. You've just described 98% of my poe
98.
▲
by
rikroots
2y ago
I decided to reinvent SVG Filters because Safari won't let them be used with HTML canvas elements[1] ... well, at least that's the official reason. Unofficially I just wanted a decent filter engine[2] that worked well with my canv
99.
▲
by
rikroots
2y ago
The book is available online from the huxley site - https://www.huxley.net/bnw/index.html
100.
▲
by
rikroots
2y ago
I really like Stephen Fry's take on the difference between American and British comedy: https://www.youtube.com/watch?v=8k2AbqTBxao (YouTube)
101.
▲
by
rikroots
2y ago
Oh! Recently I had the experience of working with someone who was using LLMs to build something using my JS canvas library. The code the LLM was producing for this person was ... sub-optimal. Over-complicated. Not a surprise to me as my lib
102.
▲
by
rikroots
2y ago
It's an array of pre-calculated values that I extracted from an image donated to the Public Domain by Christoph Peters (the link is an interesting read about bluenoise - recommend!) - http://momentsingraphics.de/BlueNoi
103.
▲
by
rikroots
2y ago
I moved my canvas library's reduce-palette filter over to OKLAB calculations a while back. The calculations are more computationally intensive, but worth the effort. https://scrawl-v8.rikweb.org.uk/demo/filters-027
104.
▲
by
rikroots
2y ago
I started a Discord 'server' for my JS Canvas library thing a couple of years ago because - apparently - it was a "good way to build a community". Not only have I failed to build a community, I've grown to hate its
105.
▲
by
rikroots
2y ago
I'm genuinely trying to do something about <canvas> element accessibility. Whether it's enough ...? Probably not. But if I can do the work to try and show that <canvas> elements can be made more accessible, then there&
106.
▲
by
rikroots
2y ago
> I was going to say I don't understand this mindset, but I guess I do. I can't really agree with it, though. Agree. I can sympathise with the mindset, because I watch so many others approach their lives with a "Grand Plan
107.
▲
by
rikroots
2y ago
I wrote this short essay[1] almost 20 years ago ... Most people ask "What is poetry?". Maybe a better question would be: "Why does every human language have poetry within it?" [1] https://rikverse2020.rikweb.o
108.
▲
by
rikroots
2y ago
Just as the Vogons steal everything else, they stole their poetry from William Topaz McGonagall https://www.mcgonagall-online.org.uk/
109.
▲
by
rikroots
2y ago
I'm writing a Developer Runbook[1] for my JS canvas library. Partly because, now I've reached my 7th decade, I need to record as many of the questionable architectural and coding decisions I've made as the library has evolved
110.
▲
by
rikroots
2y ago
> This just selects the image. 99 times out 100, you want to do the same things with the image data: adjust it in some way, and save it to object storage or something. This is probably the reason why someone invented the <canvas> e
111.
▲
by
rikroots
2y ago
I've been dodging requests to "fix" British date formats in published articles to meet US reader expectations for a while now ...
112.
▲
by
rikroots
2y ago
Strangely, it's the insular dialects across Britain that have become more bastardised over time. The North American English dialects are far more conservative when it comes to evolution. As this BBC article[1] says: "[...] althoug
113.
▲
by
rikroots
2y ago
> These people are in fantasy world. NONE OF YOU have worked on anything high stakes, tech has always been non critical (mostly) While tech is my current career, it's not my first. 18 years as a (UK) Civil Servant has given me a a d
114.
▲
by
rikroots
2y ago
Oh - that's interesting! If D3 think delaunator is the best approach to this sort of effect, then there's no more excuses (beyond my natural procrastination) to stop me adding it to my canvas library: the current code I use to cal
115.
▲
by
rikroots
2y ago
My 2d canvas JS library[1][2]. It has no direct package dependencies, uses no web workers or WASM code, and operates entirely on 2D canvas elements (no WebGL or WebGPU). The most complicated part to code up was (probably) the text layout en
116.
▲
by
rikroots
2y ago
In my last performance review 360 feedback colleagues suggested that my use of Sublime Text may be holding me back and I should consider moving over to VSCode. They're probably right ... but I'm old and there's more exciting
117.
▲
by
rikroots
2y ago
If we're sharing, this is my effort at psychedelic graphics - animating a gradient over a live video feed (all done using a boring 2D canvas, because I don't have the brain capacity for shaders) over on CodePen: https://
118.
▲
by
rikroots
2y ago
I'm sure this was posted on Wednesday - looks like the HN Gods gave the submission a second chance. When I read the article on Weds I was struggling to find inspiration for the next Genuary2025[1] prompt. Somehow the patterns that the
119.
▲
by
rikroots
2y ago
Nice! On a tangent, I thought this sort of "animated star field" effect had gone out of fashion 5 years ago - I rarely come across a website using it nowadays. My example is part of the testing suite for my canvas library: https:
120.
▲
by
rikroots
2y ago
The article gives some useful tips. But (if I may) I'll disagree with a couple of small parts: > Write for beginners I prefer "write for your audience". For example, in the first lesson for my canvas library[1], I'm a
More ›