Mechanical Watch
221–230 of 425 posts
Re: Mechanical Watch
#222Earlier quoted context omitted.
> Is WebGL a really shitty API or something? Yes. Almost no one uses it directly.
Why not? What's wrong with it?
https://www.tutorialspoint.com/webgl/webgl_drawing_a_triangl...
Re: Mechanical Watch
#223This bumps up my desire to build my own mechanical watch using one of the kits here: https://rotatewatches.com (something I've had bookmarked for a while as a possible rainy day project)
Often a seller will be a small time watch maker and their components will all fit together, a good way to save on shipping.
Result: it's become my favorite watch, I wear it every day.
Next project was to use a bunch of cheap clone parts and a 3d printed dial, still working on that one :)
Re: Mechanical Watch
#224Earlier quoted context omitted.
He does it "the right way™". Use the platform. Don't use any framework or generic library. Go straight to the point and code what you need, when you need it. Don't minify or bundle anything, and let the people who are learning and courious a straightforward way to connect the dots, without forcing them into a github repository with 90% of the code unrelated to the thing and existing just to glue 1000 pieces written b…
I strongly disagree that this is "the right way". I think that the platform provides low level primitives that are _designed_ to have abstractions built upon them. Doing it like this has the potential to be the most performant, but it does so in the same way as writing your programs directly in assembly is potentially performant. I also don't think that the source code is particularly readable for me, and contains lo…
Re: Mechanical Watch
#225Earlier quoted context omitted.
I strongly disagree that this is "the right way". I think that the platform provides low level primitives that are _designed_ to have abstractions built upon them. Doing it like this has the potential to be the most performant, but it does so in the same way as writing your programs directly in assembly is potentially performant. I also don't think that the source code is particularly readable for me, and contains lo…
On a scale of 1 to 10 how strongly are we talking here?
Re: Mechanical Watch
#226Earlier quoted context omitted.
Why not? What's wrong with it?
Here is "drawing a triangle" https://www.tutorialspoint.com/webgl/webgl_drawing_a_triangl...
Comparing this to Canvas is almost like comparing assembly to C. I'm honestly very surprised.
Re: Mechanical Watch
#227(The div needs the class 'playing' added, e.g.
[...]
instead of
)[0] https://ciechanow.ski/mechanical-watch/#stop_lever_interacti...
Re: Mechanical Watch
#228Earlier quoted context omitted.
Why not? What's wrong with it?
Here is "drawing a triangle" https://www.tutorialspoint.com/webgl/webgl_drawing_a_triangl...
https://github.com/patriciogonzalezvivo/glslCanvas/blob/mast... has most of that same boilerplate in a less repulsive form. https://github.com/patriciogonzalezvivo/glslCanvas/blob/mast... has other bits.
Re: Mechanical Watch
#229Earlier quoted context omitted.
Here is "drawing a triangle" https://www.tutorialspoint.com/webgl/webgl_drawing_a_triangl...
Holy living crap. I was all with it up until I saw the actual full HTML example. That is an incredulous amount of overhead for what is essentially one of the most basic and fundamental operations in *GL. Comparing this to Canvas is almost like comparing assembly to C. I'm honestly very surprised.
If you put more vertices and indices in Step 2 you can draw an arbitrarily complex 3-D object with this same code.
And there's a lot of stuff in GLSL where you can program directly with high-level concepts like vectors, normals, and partial derivatives, instead of expressing them by hand the way you would in C.
Re: Mechanical Watch
#230> when we pull the crown all the way out to enter the time setting mode, that stop lever blocks the balance wheel, which stops the watch in an action known as hacking whoa, is this the origin of the word "hacking" in the "throw something into the wheels to make it work" sense? very interesting.