I was curious how he did those visualizations so I looked at the source code. Turns out he codes everything by hand in WebGL [1]. Absolutely impressive stuff. Source code is non-minified so you can have a look and understand everything as well. [1]: https://ciechanow.ski/js/watch.js
I'm observing that developers these days are quite surprised to see anyone write code for OpenGL / WebGL directly instead of using some layer of abstraction on top, such as Three.js or Unity etc. Few seem to know that OpenGL already is an abstraction of the computing model underneath. A couple years ago I did some consulting for a company that needed a point cloud rendering engine. Luckily I had one ready to go. I sh…
Mechanical Watch
411–420 of 425 posts
Re: Mechanical Watch
#412Re: Mechanical Watch
#413I was curious how he did those visualizations so I looked at the source code. Turns out he codes everything by hand in WebGL [1]. Absolutely impressive stuff. Source code is non-minified so you can have a look and understand everything as well. [1]: https://ciechanow.ski/js/watch.js
Great great great work!!!
Re: Mechanical Watch
#414I wonder how minimal this kind of watch could be if you had a unrealistically accurate 3d printer and the design was essentially optimal (done by machine learning perhaps).
Re: Mechanical Watch
#415I've understand mechanical watch internals thanks to hundreds of hours of procrastination spent on watch-repairing youtube channels, but I wish I had such presentation several years ago.
Same with GPS - I've deep-dive into GPS when I've bought my first receiver, I think in year 2002 or something like this, and it was HARD at these times (there was Internet, of course, but good texts on GPS were very hard to find).
Now, thank you to Bartosz, I have two excellent links to hand out if I'm asked about these topics. I understand them well, but I never ever will be able to explain them so clear and accessible.
Re: Mechanical Watch
#416I was curious how he did those visualizations so I looked at the source code. Turns out he codes everything by hand in WebGL [1]. Absolutely impressive stuff. Source code is non-minified so you can have a look and understand everything as well. [1]: https://ciechanow.ski/js/watch.js
I'm observing that developers these days are quite surprised to see anyone write code for OpenGL / WebGL directly instead of using some layer of abstraction on top, such as Three.js or Unity etc. Few seem to know that OpenGL already is an abstraction of the computing model underneath. A couple years ago I did some consulting for a company that needed a point cloud rendering engine. Luckily I had one ready to go. I sh…
History tidbit: Jim Clark, the founder of SGI, invented the GPU which was what made SGI machines so fast at 3D.. Later he went on to found Netscape.
Re: Mechanical Watch
#417Earlier quoted context omitted.
I'm observing that developers these days are quite surprised to see anyone write code for OpenGL / WebGL directly instead of using some layer of abstraction on top, such as Three.js or Unity etc. Few seem to know that OpenGL already is an abstraction of the computing model underneath. A couple years ago I did some consulting for a company that needed a point cloud rendering engine. Luckily I had one ready to go. I sh…
I wrote interactive 3D graphics programs in SGI IrisGL, the proprietary predecessor of OpenGL. At that time I considered it super easy because it was so high-level. Even so, as an experiment, I networked an Iris to a Lisp machine so I could write graphics code in Lisp and let the SGI machine render the output. Good times. History tidbit: Jim Clark, the founder of SGI, invented the GPU which was what made SGI machines…
Even more trivial: When I moved to Silicon Valley I bought a used Porsche on a whim (my recruiter implied it was a proper consultant accessory in SV) and fixed it up a bit until it became my daily driver. When I researched the title I discovered Jim Clark was the original owner. So I’d like to credit Jim Clark for starting me on the road to speed up my commute.
Re: Mechanical Watch
#418Earlier quoted context omitted.
I fully accept your point that 'most young people don’t even have access to a mechanical watch these days' but I'd contend that that ought not be relevant (as I'll explain in a moment). First, I should say that I was perhaps a little harsh in my above comment and I didn't convey what I actually wanted to say. Unfortunately, I was distracted by the somewhat irritating fact that I couldn't view any of those drawings on…
I might be an outlier in how I learn, but I find that learning happens in multiple passes. First, I learned a concept in school, and probably forgot it. Later, I heard about it again, and hung the concept on the skeleton of what I remembered from school. Only much later, when I'm actually applying the concept (in my career, during home repair, when doing my son's homework), do I connect the dots and really understand…
I don't think so, I'd reckon you'd be pretty typical. It's basically how I learn things and I'd think it's how most others acquire skills.
From my experience, the key issue is having an interest in the subject, subjects that I was interested in I did well in and it was the opposite for those that bored me. I suppose that makes sense but in both cases multiple passes were required before I became proficient - it's just that it took considerably longer when my interest was less.
However, what I've noted on many occasions is that there are students who I'd classify as a class that are just good at learning things even if the subjects have little interest for them per se, they're the ones who would often top the class and later in life you'd find them doing jobs unrelated to the subjects they did well in. I often think I'd like more of that trait.
For reasons I can only speculate about, my interest in certain specific subjects seems to have inate origins, it's as if some a priori interest was there before I knew about them. This doesn't necessarily bode well for other subjects that are deemed essential for one to become skilled in as one's learning can become lopsided.
There's little doubt that hands-on training works for most - and that brings me back to clocks. In physics practical classes on tension, springs, mechanical advantage, etc. we actually had clocks to experiment with. These were usually old bedroom alarm clocks and such that could be pulled apart and reassembled and if damaged it didn't matter much. We all learned from these experiences, even kids with little mechanical aptitude as clocks contains just about every instance of the physics we were learning about and it was obvious how they all came together to make clocks work.
Re: Mechanical Watch
#419Re: Mechanical Watch
#420Earlier quoted context omitted.
Why not? What's wrong with it?
Here is "drawing a triangle" https://www.tutorialspoint.com/webgl/webgl_drawing_a_triangl...
Once you get through the process of drawing a triangle on the screen then you're learnt 70% of the core of OpenGL. I think you're making the incorrect assumption of "wow if it takes this long to just get a triangle on the screen it must take 1000x as long to get an entire model of a watch" when really you're almost able to draw a model already, you just need to put multiple triangles on the screen now instead of just one.