News for hackers. Stuff that matters.
Re:Liquid Glass in the Browser: Refraction with CSS and SVG by 0x20cowboy on Wednesday September 10, 2025 @02:30AM (#45194039)
If the author is around here, I think there is an error in the Equations section. In the Convex Circle equation I think it has an extra set of parens. sqrt(1-(1-x)^2) I believe as it is it’s just linear.
Re:Liquid Glass in the Browser: Refraction with CSS and SVG by kubeio on Friday September 12, 2025 @12:07PM (#45223681)
Thanks for highlighting that. Prettier was actually the culprit because of the non-JS `^` operator. Fixed it.