Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: radius Clear Filter

Visualizing distributions with pepperoni pizza and JavaScript

Monday, August 18, 2025 There's a pizza shop near me that serves a normal pizza. I mean, they distribute the toppings in a normal way. They're not uniform at all. The toppings are random, but not the way I want. The colloquial understanding of "random" is kind of the Platonic ideal of a pizza: slightly chaotic but things are more or less spread out over the whole piece in a regular way. If you take a slice you'll get more of less the same amount of pepperoni as any other slice. And every bite

Lazy-brush – smooth drawing with mouse or finger

Lazy Brush JavaScript library to draw smooth curves and straight lines with your mouse, finger or any pointing device. Enabled Lazy radius 60 The minimum distance required before the brush is pulled towards the pointer. Friction 0.10 Makes the brush lag behind the cursor. 0 = no lag, 1 = infinite lag. Brush radius 13 The size of the brush. Has no effect on the functionality of lazy-brush. Clear

Ancient X11 scaling technology

People keep telling me that X11 doesn’t support DPI scaling, or fractional scaling, or multiple monitors, or something. There’s nothing you can do to make it work. I find this surprising. Why doesn’t it work? I figure the best way to find out is try the impossible and see how far we get. I’m just going to draw a two inch circle on the screen. This screen, that screen, any screen, the circle should always be two inches. Perhaps not the most exciting task, but I figure it’s isomorphic to any othe