Oleksii Trekhleb
trekhleb.dev · Personal blog · on HN since 2021
Oleksii Trekhleb writes JavaScript tutorials and visual demos on machine learning, genetic algorithms, image processing, and number representation.
What HN saysHN commenters like his visual demos, such as the self-parking car, and find his content-aware image resizer a notable idea.
22HN people shared it
2linked it in comments
46stories submitted
995story points
3 months agolast shared
2021people per year2026
Most-shared posts
- 1Self-Parking Car in ~500 Lines of Code8 people · 28 points · first shared 2021 · 2 comments on HN
- 2JavaScript IMAGE CARVER, a content-aware image resizer4 people · 20 points · first shared 2021 · discussion on HN
- 3Content-aware image resizing in JavaScript3 people · 491 points · first shared 2021 · 61 comments on HN
- 4NanoNeuron – 7 simple JavaScript functions that explain how machines learn3 people · 8 points · first shared 2021 · discussion on HN
- 5S.O.L.I.D. principles around you (2017)3 people · 5 points · first shared 2021 · discussion on HN
- 6Binary representation of the floating-point numbers3 people · 4 points · first shared 2021 · discussion on HN
- 7Show HN: Self-Parking Car Evolution2 people · 117 points · first shared 2021 · 43 comments on HN
- 8Accessing device orientation in pure JavaScript2 people · 28 points · first shared 2021 · 6 comments on HN
- 9API Design of X (Twitter) Home Timeline2 people · 8 points · first shared 2024 · discussion on HN
- 10Interactive Machine Learning Experiments2 people · 8 points · first shared 2021 · discussion on HN
- 11California Counties and Cities Comparison2 people · 3 points · first shared 2026 · discussion on HN
- 12Dynamic Programming vs. Divide-and-Conquer (2018)1 people · 217 points · first shared 2021 · 115 comments on HN
- 13Attempt to make printed links clickable1 people · 35 points · first shared 2021 · 7 comments on HN
- 14Training Baby GPTs in Browser1 people · 7 points · first shared 2024 · 1 comments on HN
- 15Technical Interview Preparation Checklist (2019)1 people · 3 points · first shared 2021 · discussion on HN
What HN people wrote when they linked it
trekhleb · 2024-04-29
It is a very visual and entertaining visualization, I love it.
It inspired me to experiment with a genetic algorithm in "Self-parking car evolution":
https://trekhleb.dev/self-parking-car-evolution/
DonnyV · 2026-04-23
I can't believe this doesn't mention Image Seam Carving. Surprise this was never built into browsers.
https://trekhleb.dev/js-image-carver/