frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: M. C. Escher spiral in WebGL inspired by 3Blue1Brown

https://static.laszlokorte.de/escher/
70•laszlokorte•12h ago
The latest 3Blue1Brown video [1] about the M. C. Escher print gallery effect inspired me to re-implement the effect as WebGL fragment shader on my own.

[1]: https://www.youtube.com/watch?v=ldxFjLJ3rVY

Comments

sgbeal•12h ago
Note to other viewers: getting the Escher-esque effect requires tapping a checkbox at the top of the page (easy to miss on a large monitor).
crazygringo•5h ago
Very cool! However, it took me a while to figure out how this was supposed to be used.

For others:

On desktop, at least, you need to click and drag up/down on the left-hand control that says "swipe" with two arrows.

Or click "Autoplay".

laszlokorte -- can I suggest that the up/down icons should also be clickable/holdable? Since they're icons, they look like buttons, not a "swipe area". And also, maybe default to having autoplay on (but still with the controls visible)? Because it was not clear to me, at first, that the whole point of the site is infinite zoom.

kmoser•5h ago
Mouse scroll wheel works, too
djmips•5h ago
Why not include the Print Gallery image? Or - if worried about copyright, the ability to load an image.
nvme0n1p1•5h ago
This is awesome! I'd love to be able to upload a custom image too.
breakyerself•5h ago
This is awesome. I'd love to see the original escher image scroll through there.
Panzerschrek•2h ago
I did my own version too: https://www.youtube.com/watch?v=xxLfDHe93_M
vivzkestrel•2h ago
stupid question to webgl experts here?

- can you build an entire fps shooter game using web gl? how is physics handled? how is collision detection, enemy AI handled? what kind of frame rate can you expect from a counter strike game made in web gl?

- what is the difference between webgl and threejs and babylonjs?

- what is the man hour effort involved for doing something like this assuming you know html, css and js pretty well but not familiar with gamedev

- is open gl the non web version of web gl? or are they completely different?

fulafel•2h ago
You can implement the graphics part of it using WebGL. It's strictly a graphics API for drawing to the screen. But there are specific libraries for eg physics that you can use in your WebGL 2 app, or entire 3D engines (like those you mentioned) targeting WebGL around. Or you can DIY.

> is open gl the non web version of web gl? or are they completely different?

The current version of WebGL, WebGL 2, is like OpenGL ES 3.0.

tayo42•2h ago
> what is the man hour effort involved for doing something like this assuming you know html, css and js pretty well but not familiar with gamedev

Almost trivial with Ai. I just started making games with threejs. threejs is pretty much the abstractions you'd end up writing your self if you wanted to use webgl.

The hard part is refining, polish, creating fun mechanics, and creating assets.

gifman•1h ago
Very few questions are stupid, these are not.

Yes, you can definitely build an entire fps game using WebGL for rendering. Typically using JavaScript to handle physics, collision, gameplay, etc.

My current WebGL project is rendering high definition terrain, high-poly animated models, thousands of particles, shaders, sound and more over 150 frames-per-second on a 10 year old PC with a RTX 3060. I have found hardware acceleration is often not enabled in the browser, or Windows will default to using the integrated-graphics card when running the browser and that must be changed in the Windows Graphics Settings.

WebGL is a graphics API for talking right to the graphics card, supported by The Browser. ThreeJS and BabylonJS are libraries that make it easier to render 2D and 3D graphics, both use WebGL and/or WebGPU behind the scenes for rendering.

Development with HTML/CSS/JavaScript and WebGL is my favorite stack to work with. Development is fast, re-loading is quick, errors and debugging is handled directly in the browsers which have great debug information and performance tracking. No compile time and support on lots of devices.

Yes, OpenGL came first. WebGL is a JavaScript binding of a subset of OpenGL functionalities.

bornfreddy•1h ago
Nice! Nit: on mobile (ff if it matters) swiping down for some time makes the edges very grainy.

Show HN: A game where you build a GPU

https://jaso1024.com/mvidia/
685•Jaso1024•15h ago•149 comments

Introduction to Computer Music (2009) [pdf]

https://composerprogrammer.com/introductiontocomputermusic.pdf
137•luu•6h ago•42 comments

OpenScreen is an open-source alternative to Screen Studio

https://github.com/siddharthvaddem/openscreen
252•jskopek•4d ago•45 comments

German implementation of eIDAS will require an Apple/Google account to function

https://bmi.usercontent.opencode.de/eudi-wallet/wallet-development-documentation-public/latest/ar...
196•DyslexicAtheist•9h ago•136 comments

LLM Wiki – example of an "idea file"

https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
170•tamnd•15h ago•47 comments

Rubysyn: Clarifying Ruby's Syntax and Semantics

https://github.com/squadette/rubysyn/blob/master/README.md
34•petalmind•3d ago•0 comments

Zml-smi: universal monitoring tool for GPUs, TPUs and NPUs

https://zml.ai/posts/zml-smi/
37•steeve•4d ago•6 comments

How many products does Microsoft have named 'Copilot'?

https://teybannerman.com/strategy/2026/03/31/how-many-microsoft-copilot-are-there.html
607•gpi•12h ago•293 comments

Show HN: I built a small app for FSI German Course

https://detawk.com/
25•syedmsawaid•2d ago•6 comments

Lisette a little language inspired by Rust that compiles to Go

https://lisette.run/
13•jspdown•1h ago•4 comments

AWS engineer reports PostgreSQL perf halved by Linux 7.0, fix may not be easy

https://www.phoronix.com/news/Linux-7.0-AWS-PostgreSQL-Drop
263•crcastle•8h ago•69 comments

Show HN: Contrapunk – Real-time counterpoint harmony from guitar input, in Rust

https://contrapunk.com/
59•waveywaves•7h ago•20 comments

Modern Generic SVGA driver for Windows 3.1

https://github.com/PluMGMK/vbesvga.drv
26•userbinator•3h ago•5 comments

Show HN: I made open source, zero power PCB hackathon badges

https://github.com/KaiPereira/Overglade-Badges
93•kaipereira•18h ago•10 comments

Components of a Coding Agent

https://magazine.sebastianraschka.com/p/components-of-a-coding-agent
232•MindGods•19h ago•71 comments

Show HN: sllm – Split a GPU node with other developers, unlimited tokens

https://sllm.cloud
154•jrandolf•17h ago•76 comments

Scientists Figured Out How Eels Reproduce (2022)

https://www.intelligentliving.co/scientists-finally-figured-out-how-eels-reproduce/
8•thunderbong•3d ago•0 comments

The Indie Internet Index – submit your favorite sites

https://iii.social
138•freshman_dev•18h ago•27 comments

Nvim-treesitter (13K+ Stars) is Archived

https://github.com/nvim-treesitter/nvim-treesitter/discussions/8627
99•RohanAdwankar•8h ago•23 comments

Ruckus: Racket for iOS

https://ruckus.defn.io/
121•nsm•2d ago•10 comments

Software never had a soul

https://www.jmduke.com/posts/software-never-had-a-soul.html
11•firloop•2d ago•3 comments

Show HN: M. C. Escher spiral in WebGL inspired by 3Blue1Brown

https://static.laszlokorte.de/escher/
71•laszlokorte•12h ago•12 comments

Electrical transformer manufacturing is throttling the electrified future

https://www.bloomberg.com/features/2025-bottlenecks-transformers/
83•toomuchtodo•3d ago•72 comments

Aegis – open-source FPGA silicon

https://github.com/MidstallSoftware/aegis
4•rosscomputerguy•2h ago•0 comments

Advice to young people, the lies I tell myself (2024)

https://jxnl.co/writing/2024/06/01/advice-to-young-people/
94•mooreds•9h ago•27 comments

Show HN: TurboQuant-WASM – Google's vector quantization in the browser

https://github.com/teamchong/turboquant-wasm
152•teamchong•17h ago•6 comments

Apple approves driver that lets Nvidia eGPUs work with Arm Macs

https://www.theverge.com/tech/907003/apple-approves-driver-that-lets-nvidia-egpus-work-with-arm-macs
422•naves•16h ago•185 comments

Embarrassingly simple self-distillation improves code generation

https://arxiv.org/abs/2604.01193
587•Anon84•22h ago•177 comments

Breaking Enigma with Index of Coincidence on a Commodore 64

https://imapenguin.com/2026/03/breaking-enigma-with-index-of-coincidence-on-a-commodore-64/
41•saganus•4d ago•4 comments

The CMS is dead, long live the CMS

https://next.jazzsequence.com/posts/the-cms-is-dead-long-live-the-cms
141•taubek•21h ago•86 comments