frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Slicing Bezier Surfaces

https://fatih-erikli-potato.github.io/blog/slicing-bezier-surfaces.html
12•fatih-erikli-cg•2d ago

Comments

vintagedave•1h ago
The math for Bezier curves is usually a bit beyond me, but this seems to use a simple lerp (linear interpolation) to split. Why is that valid? I had expected something like moving along the curve and calculating new points and control points (weights?) to get a curve that is a subset of the curve but matching exactly? My possibly incorrect thought was that these are non-linear, therefore, how is lerp suitable?

Or does this retain the original curves but only evaluate a subset, thus, lerp makes complete sense as a simple linear progression along the curve? The curves stay the same, we are evaluating a subset to get the slice?

> It takes the t value between 0 and 1, and returns two bezier curves, one is the half that splitted at t, the other one is other half. Two of them shapes the given bezier curve.

My apologies to the author for finding this unclear -- I am not clear though :D

Also: what an awesome blog post. Interesting topic, straightforward, short, code, diagrams, clearly not AI. Thankyou to the author.

quchen•24m ago
Bezier curve are just nested lerps! A bezier curve of degree 1 is lerp, what we usually call "bezier curve" is of degree 3.

It's a mathematical property that bezier curves (degree n) can be split exactly into two bezier curves (degree n), which is known as deCasteljau's algorithm:

https://en.wikipedia.org/wiki/De_Casteljau%27s_algorithm

That page also features some pretty animations on the "lerpy" part - Bezier curves are really simple, it's just that for some reason they are often presented with lots of math jargon that's completely over the top.

This is also used to efficiently draw bezier curves: subdivide them until they're visually straight lines, then plot those.

A Visual Introduction to Machine Learning

https://r2d3.us/visual-intro-to-machine-learning-part-1/
33•vismit2000•51m ago•1 comments

The Appalling Stupidity of Spotify's AI DJ

https://www.charlespetzold.com/blog/2026/02/The-Appalling-Stupidity-of-Spotifys-AI-DJ.html
155•ingve•3h ago•121 comments

$96 3D-printed rocket that recalculates its mid-air trajectory using a $5 sensor

https://github.com/novatic14/MANPADS-System-Launcher-and-Rocket
39•ZacnyLos•1h ago•11 comments

Rack-mount hydroponics

https://sa.lj.am/rack-mount-hydroponics/
191•cdrnsf•7h ago•43 comments

Why Mathematica does not simplify sinh(arccosh(x))

https://www.johndcook.com/blog/2026/03/10/sinh-arccosh/
81•ibobev•3d ago•17 comments

Treasure hunter freed from jail after refusing to turn over shipwreck gold

https://www.bbc.com/news/articles/cg4g7kn99q3o
106•tartoran•8h ago•122 comments

A most elegant TCP hole punching algorithm

https://robertsdotpm.github.io/cryptography/tcp_hole_punching.html
104•Uptrenda•8h ago•32 comments

How kernel anti-cheats work

https://s4dbrd.github.io/posts/how-kernel-anti-cheats-work/
208•davikr•11h ago•177 comments

Examples for the tcpdump and dig man pages

https://jvns.ca/blog/2026/03/10/examples-for-the-tcpdump-and-dig-man-pages/
8•ibobev•3d ago•0 comments

Allow me to get to know you, mistakes and all

https://sebi.io/posts/2026-03-14-allow-me-to-get-to-know-you-mistakes-and-all/
167•sebi_io•13h ago•75 comments

Show HN: Han – A Korean programming language written in Rust

https://github.com/xodn348/han
178•xodn348•14h ago•97 comments

Ageless Linux – Software for humans of indeterminate age

https://agelesslinux.org/
662•nateb2022•13h ago•429 comments

SBCL Fibers – Lightweight Cooperative Threads

https://atgreen.github.io/repl-yell/posts/sbcl-fibers/
105•anonzzzies•12h ago•18 comments

Mathematics Distillation Challenge – Equational Theories

https://terrytao.wordpress.com/2026/03/13/mathematics-distillation-challenge-equational-theories/
78•picafrost•1d ago•2 comments

Slicing Bezier Surfaces

https://fatih-erikli-potato.github.io/blog/slicing-bezier-surfaces.html
12•fatih-erikli-cg•2d ago•2 comments

Bumblebee queens breathe underwater to survive drowning

https://www.smithsonianmag.com/science-nature/bumblebee-queens-breathe-underwater-to-survive-drow...
140•1659447091•14h ago•28 comments

Centuries of selective breeding turned wild cabbage into different vegetables

https://www.worksinprogress.news/p/many-of-the-tastiest-vegetables-are
55•bensouthwood•3d ago•21 comments

MCP is dead; long live MCP

https://chrlschn.dev/blog/2026/03/mcp-is-dead-long-live-mcp/
164•CharlieDigital•16h ago•146 comments

Tree Search Distillation for Language Models Using PPO

https://ayushtambde.com/blog/tree-search-distillation-for-language-models-using-ppo/
62•at2005•10h ago•4 comments

The mechanics of autonomous software translation

https://alperenkeles.com/posts/autonomous-translations/
20•alpaylan•4d ago•0 comments

A look inside Dialector, filmmaker Chris Marker's chatbot from 1988

https://kubicki.org/letters/the-festival-of-the-machines/
49•kosmavision•3d ago•4 comments

The enshittification of Amazon paperback books

https://www.alexerhardt.com/en/enshittification-amazon-paperback-books/
55•aerhardt•2h ago•31 comments

An ode to bzip

https://purplesyringa.moe/blog/an-ode-to-bzip/
144•signa11•19h ago•77 comments

Fedora 44 on the Raspberry Pi 5

https://nullr0ute.com/2026/03/fedora-44-on-the-raspberry-pi-5/
102•jandeboevrie•15h ago•31 comments

Marketing for Founders

https://github.com/EdoStra/Marketing-for-Founders
190•jimsojim•16h ago•81 comments

Airbus is preparing two uncrewed combat aircraft

https://www.airbus.com/en/newsroom/press-releases/2026-03-airbus-is-preparing-two-uncrewed-combat...
155•phasnox•12h ago•95 comments

Baochip-1x: What it is, why I'm doing it now and how it came about

https://www.crowdsupply.com/baochip/dabao/updates/what-it-is-why-im-doing-it-now-and-how-it-came-...
321•timhh•3d ago•70 comments

A Recursive Algorithm to Render Signed Distance Fields

https://pointersgonewild.com/2026-03-06-a-recursive-algorithm-to-render-signed-distance-fields/
97•surprisetalk•3d ago•7 comments

Hostile Volume – A game about adjusting volume with intentionally bad UI

https://hostilevolume.com/
99•Velocifyer•16h ago•62 comments

Library of Short Stories

https://www.libraryofshortstories.com/
86•debo_•15h ago•4 comments