| ▲ | Show HN: M. C. Escher spiral in WebGL inspired by 3Blue1Brown(static.laszlokorte.de) | ||||||||||||||||||||||||||||
| 135 points by laszlokorte 20 hours ago | 20 comments | |||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||
| ▲ | amiga386 5 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
You are forgiven for not knowing about the University of Leiden's Escher and the Droste effect site from 2002, given it shut down in 2024, but they were the first to try filling in the centre of Print Gallery and make the association with the cocoa tins https://web.archive.org/web/20020802200015/http://escherdros... | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | Bewelge 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Very cool! I once tried rendering his towers. Mainly used normal canvas drawing though :) | |||||||||||||||||||||||||||||
| ▲ | Panzerschrek 10 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I did my own version too: https://www.youtube.com/watch?v=xxLfDHe93_M | |||||||||||||||||||||||||||||
| ▲ | djmips 13 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Why not include the Print Gallery image? Or - if worried about copyright, the ability to load an image. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | Falimonda 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Cool, I think? It's unusable on mobile Google Chrome. Pinch to zoom worked for about a split second and now it’s broken | |||||||||||||||||||||||||||||
| ▲ | sgbeal 20 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
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). | |||||||||||||||||||||||||||||
| ▲ | vivzkestrel 10 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
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? | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | crazygringo 13 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | nvme0n1p1 13 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
This is awesome! I'd love to be able to upload a custom image too. | |||||||||||||||||||||||||||||
| ▲ | bornfreddy 8 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Nice! Nit: on mobile (ff if it matters) swiping down for some time makes the edges very grainy. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | breakyerself 13 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
This is awesome. I'd love to see the original escher image scroll through there. | |||||||||||||||||||||||||||||