Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rjkaplan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
rjkaplan
1y ago
True... this was a conscious trade-off at Figma since it needs to support designs for web, iOS, Android, etc. That unfortunately means it doesn't map 1:1 to any of them.
2.
▲
Notes from My Time at Figma
(andrewkchan.dev)
4 points
by
rjkaplan
2y ago
|
0 comments
3.
▲
Dynamic loading of real-time content at Figma
(figma.com)
49 points
by
rjkaplan
2y ago
|
0 comments
4.
▲
by
rjkaplan
2y ago
I'm guessing the comment was downvoted because the suggestions are mentioned in the first paragraph of the article... > After trying a few stopgap solutions—like purchasing M1 Maxs for our team—build times gradually reverted to thei
5.
▲
by
rjkaplan
3y ago
Figma supported vector networks a few years before that thesis was written (I worked there at the time).
6.
▲
by
rjkaplan
3y ago
Hmm, why does this page say that iOS has 1.26% support? Safari developer preview isn't supported on iOS, and neither are non-Apple browser engines.
7.
▲
by
rjkaplan
6y ago
Strongly recommend either The Way of Kings or Mistborn. They're the first books in two separate series of his. The Way of Kings is epic fantasy. Mistborn is somewhere between fantasy and YA.
8.
▲
by
rjkaplan
6y ago
Neat! In my experience jump flooding on the GPU is faster than any CPU side approach for images bigger than a few hundred pixels. It's O(n ^ 2 log n) which sounds really expensive, but it requires just O(log n) draw calls. The link you
9.
▲
by
rjkaplan
6y ago
Ah, thanks for clarifying! I think someone already called this out above, but the benefit of the approach I describe is that you only need one sample per pixel. Four samples per pixel starts to feel pretty slow on my machine, and I suspect
10.
▲
by
rjkaplan
6y ago
There are definitely more physically accurate ways to render soft shadows, but AFAIK they all involve some kind of bounce lighting where light bounces off of objects in the scene and indirectly lights other parts of it. This looks great whe
11.
▲
by
rjkaplan
6y ago
Thanks! I've learned a ton from iq's writing. He's such an inspiration! I find that his articles are best for folks who already know a thing or two about computer graphics. Here's a post that I think is pretty good for b
12.
▲
by
rjkaplan
6y ago
Thanks! I just pushed a fix. Does it work now?
13.
▲
by
rjkaplan
6y ago
Thanks! I just pushed a fix. Does it work now?
14.
▲
by
rjkaplan
6y ago
I just pushed something that will print more info when that error happens. If you or anyone else runs into it again, please post the error here so I can fix it :)
15.
▲
by
rjkaplan
6y ago
Whoops, just pushed a fix! Does it work now?
16.
▲
by
rjkaplan
6y ago
Author here. That's a neat trick! > I mention this because the mystery of the getDistance() function is often one of the tricky parts of demos like these. I agree! In the demos I use a library I wrote to generate 2D distance fields:
17.
▲
Ray Marching Soft Shadows in 2D
(rykap.com)
172 points
by
rjkaplan
6y ago
|
36 comments
18.
▲
by
rjkaplan
9y ago
The page's domain and title are disappointing to me. Using sexualized language can create an environment that is unduly hostile to women, even if this is not intended. Many of the biases against women that such language provokes are to
19.
▲
Rendering math equations on the GPU
(rykap.com)
1 points
by
rjkaplan
9y ago
|
0 comments
20.
▲
Building a Fast Equation Grapher (part 1)
(rykap.com)
2 points
by
rjkaplan
9y ago
|
0 comments
21.
▲
by
rjkaplan
9y ago
Thanks! (I wrote the article and just found it here)
22.
▲
Building a fast Equation Grapher (part 1)
(rykap.com)
1 points
by
rjkaplan
9y ago
|
0 comments
23.
▲
by
rjkaplan
10y ago
That depends on how you define progress. Just to play devil's advocate: what if you define progress as "that stuff" that will increase the general well-being of the greatest number of people over the next 20 years? With that
24.
▲
by
rjkaplan
10y ago
Out of curiosity, what platform do you design for? I often make designs for web and mobile web, and I want my text to look the same in my design tool as it does on the platform I'm designing for. Since mobile devices don't support
25.
▲
by
rjkaplan
10y ago
Thanks for the report - I reproduced and fixed an issue on a Windows machine. It'd be great if you could let me know if it now works for you!
26.
▲
by
rjkaplan
10y ago
I fixed an issue that I was able to repro on a Windows machine. It'd be great if you could try again and let me know if it now works for you!
27.
▲
by
rjkaplan
10y ago
Yeah! It's a pretty big omission in my post that I don't talk about other methods of generating Voronoi diagrams, but I wanted to keep it relatively short. Chris Wellons has a great article on the method that you mention: http:&#
28.
▲
by
rjkaplan
10y ago
I'm sorry that you're running into issues - I just got started with WebGL and I don't have a Windows machine to test on. I'd be interested to know if other WebGL demos work on your machine. Do you see a triangle and squa
29.
▲
by
rjkaplan
10y ago
Thanks - I'm glad you found it interesting!
30.
▲
by
rjkaplan
10y ago
I recently got started with WebGL so I hope that others post more/better resources, but... - I found this to be a good starting point for WebGL as a whole: https://webglfundamentals.org/ - This is a great resource for
More ›