The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Offline voice messages transcription in Signal Desktop
Show HN: Offline voice messages transcription in Signal Desktop
Show HN: Offline voice messages transcription in Signal Desktop
Show HN: Offline voice messages transcription in Signal Desktop
Show HN: My first website ever, just out of college (1999)
Show HN: Reddit search engine for startup founders
Show HN: Reddit search engine for startup founders
Show HN: Reddit search engine for startup founders
Show HN: Reddit search engine for startup founders
Show HN: Voice Clones for Creators
Show HN: Voice Clones for Creators
Show HN: Voice Clones for Creators
A way to torture an interviewer (C++, FizzBuzz)
<p><pre><code> #include <stdio.h>
static struct X {
void* operator new[](size_t) { return (char*)&1[""]; }
void operator delete[](void*) { }
X() : X((char*)this - "") { }
X(char i) {
printf(i%3?i%5?"%s%i\n":"%s\n":"Fizz%s\n",i%5?"":"Buzz",i);
}
} *x = new X[100]();
int main(){}</code></pre>
Show HN: Visualizing the math that powers 3D character animation
Hi everyone! I'm the author of this project. I wrote it because I think that the math that makes characters move in games and movies is incredibly beautiful, and I wanted to give others a glimpse into it.<p>It's crazy to think that quaternions, an abstract mathematical tool discovered by William Rowan Hamilton in 1843, would be so perfectly suited to solve hard problems in the world of 3D character animation more than a hundred years later. The story of how he discovered quaternions is also beautiful. Here's an excerpt from Wikipedia:<p>"Hamilton was looking for ways of extending complex numbers (which can be viewed as points on a 2-dimensional Argand diagram) to higher spatial dimensions. In working with four dimensions, rather than three, he created quaternion algebra. According to Hamilton, on 16 October he was out walking along the Royal Canal in Dublin with his wife when the solution in the form of the equation<p>i2 = j2 = k2 = ijk = −1<p>occurred to him; Hamilton then carved this equation using his penknife into the side of the nearby Broom Bridge (which Hamilton called Brougham Bridge)."<p>There's a plaque that commemorates that moment on Broom Bridge now.<p>If you have any questions about this project, I would love to answer them, but I recommend reading the README first, which should explain everything:<p><a href="https://github.com/diegomacario/Animation-Magic/blob/main/README.md" rel="nofollow">https://github.com/diegomacario/Animation-Magic/blob/main/RE...</a><p>Thank you!
Show HN: Visualizing the math that powers 3D character animation
Hi everyone! I'm the author of this project. I wrote it because I think that the math that makes characters move in games and movies is incredibly beautiful, and I wanted to give others a glimpse into it.<p>It's crazy to think that quaternions, an abstract mathematical tool discovered by William Rowan Hamilton in 1843, would be so perfectly suited to solve hard problems in the world of 3D character animation more than a hundred years later. The story of how he discovered quaternions is also beautiful. Here's an excerpt from Wikipedia:<p>"Hamilton was looking for ways of extending complex numbers (which can be viewed as points on a 2-dimensional Argand diagram) to higher spatial dimensions. In working with four dimensions, rather than three, he created quaternion algebra. According to Hamilton, on 16 October he was out walking along the Royal Canal in Dublin with his wife when the solution in the form of the equation<p>i2 = j2 = k2 = ijk = −1<p>occurred to him; Hamilton then carved this equation using his penknife into the side of the nearby Broom Bridge (which Hamilton called Brougham Bridge)."<p>There's a plaque that commemorates that moment on Broom Bridge now.<p>If you have any questions about this project, I would love to answer them, but I recommend reading the README first, which should explain everything:<p><a href="https://github.com/diegomacario/Animation-Magic/blob/main/README.md" rel="nofollow">https://github.com/diegomacario/Animation-Magic/blob/main/RE...</a><p>Thank you!
Show HN: Visualizing the math that powers 3D character animation
Hi everyone! I'm the author of this project. I wrote it because I think that the math that makes characters move in games and movies is incredibly beautiful, and I wanted to give others a glimpse into it.<p>It's crazy to think that quaternions, an abstract mathematical tool discovered by William Rowan Hamilton in 1843, would be so perfectly suited to solve hard problems in the world of 3D character animation more than a hundred years later. The story of how he discovered quaternions is also beautiful. Here's an excerpt from Wikipedia:<p>"Hamilton was looking for ways of extending complex numbers (which can be viewed as points on a 2-dimensional Argand diagram) to higher spatial dimensions. In working with four dimensions, rather than three, he created quaternion algebra. According to Hamilton, on 16 October he was out walking along the Royal Canal in Dublin with his wife when the solution in the form of the equation<p>i2 = j2 = k2 = ijk = −1<p>occurred to him; Hamilton then carved this equation using his penknife into the side of the nearby Broom Bridge (which Hamilton called Brougham Bridge)."<p>There's a plaque that commemorates that moment on Broom Bridge now.<p>If you have any questions about this project, I would love to answer them, but I recommend reading the README first, which should explain everything:<p><a href="https://github.com/diegomacario/Animation-Magic/blob/main/README.md" rel="nofollow">https://github.com/diegomacario/Animation-Magic/blob/main/RE...</a><p>Thank you!
Show HN: Visualizing the math that powers 3D character animation
Hi everyone! I'm the author of this project. I wrote it because I think that the math that makes characters move in games and movies is incredibly beautiful, and I wanted to give others a glimpse into it.<p>It's crazy to think that quaternions, an abstract mathematical tool discovered by William Rowan Hamilton in 1843, would be so perfectly suited to solve hard problems in the world of 3D character animation more than a hundred years later. The story of how he discovered quaternions is also beautiful. Here's an excerpt from Wikipedia:<p>"Hamilton was looking for ways of extending complex numbers (which can be viewed as points on a 2-dimensional Argand diagram) to higher spatial dimensions. In working with four dimensions, rather than three, he created quaternion algebra. According to Hamilton, on 16 October he was out walking along the Royal Canal in Dublin with his wife when the solution in the form of the equation<p>i2 = j2 = k2 = ijk = −1<p>occurred to him; Hamilton then carved this equation using his penknife into the side of the nearby Broom Bridge (which Hamilton called Brougham Bridge)."<p>There's a plaque that commemorates that moment on Broom Bridge now.<p>If you have any questions about this project, I would love to answer them, but I recommend reading the README first, which should explain everything:<p><a href="https://github.com/diegomacario/Animation-Magic/blob/main/README.md" rel="nofollow">https://github.com/diegomacario/Animation-Magic/blob/main/RE...</a><p>Thank you!
Show HN: Visualizing the math that powers 3D character animation
Hi everyone! I'm the author of this project. I wrote it because I think that the math that makes characters move in games and movies is incredibly beautiful, and I wanted to give others a glimpse into it.<p>It's crazy to think that quaternions, an abstract mathematical tool discovered by William Rowan Hamilton in 1843, would be so perfectly suited to solve hard problems in the world of 3D character animation more than a hundred years later. The story of how he discovered quaternions is also beautiful. Here's an excerpt from Wikipedia:<p>"Hamilton was looking for ways of extending complex numbers (which can be viewed as points on a 2-dimensional Argand diagram) to higher spatial dimensions. In working with four dimensions, rather than three, he created quaternion algebra. According to Hamilton, on 16 October he was out walking along the Royal Canal in Dublin with his wife when the solution in the form of the equation<p>i2 = j2 = k2 = ijk = −1<p>occurred to him; Hamilton then carved this equation using his penknife into the side of the nearby Broom Bridge (which Hamilton called Brougham Bridge)."<p>There's a plaque that commemorates that moment on Broom Bridge now.<p>If you have any questions about this project, I would love to answer them, but I recommend reading the README first, which should explain everything:<p><a href="https://github.com/diegomacario/Animation-Magic/blob/main/README.md" rel="nofollow">https://github.com/diegomacario/Animation-Magic/blob/main/RE...</a><p>Thank you!
Show HN: Tuc – When cut doesn’t cut it
Announcing `tuc`, a utility similar to coreutils `cut`, but more powerful.
It allows to split text or bytes into parts and reassemble them in any order.<p>I always found `cut` very practical for some tasks where `sed` or `awk` were overkill or awkward to use, but I also felt the need for more features.<p>Some key differences from `cut`:
- parts can be referenced by negative indexes
- delimiters can be any number of characters long, or match a regex
- can split text into lines, and reassemble them
Show HN: Tuc – When cut doesn’t cut it
Announcing `tuc`, a utility similar to coreutils `cut`, but more powerful.
It allows to split text or bytes into parts and reassemble them in any order.<p>I always found `cut` very practical for some tasks where `sed` or `awk` were overkill or awkward to use, but I also felt the need for more features.<p>Some key differences from `cut`:
- parts can be referenced by negative indexes
- delimiters can be any number of characters long, or match a regex
- can split text into lines, and reassemble them