News for hackers. Stuff that matters.
Re:An animated introduction to Fourier series by factormeta on Tuesday June 04, 2024 @05:22PM (#40579081)
The link to source code is broken. Looks like someone forgot to put a '/' in the href link. The actual link is:

https://www.andreinc.net/2024/04/24/assets/js/2024-04-24-fro...

Looks like it is using processing to do the animation.

Re:An animated introduction to Fourier series by rjurney on Tuesday June 04, 2024 @07:39PM (#40580025)
God, I love Processing. Most beautiful programs I’ve ever written were in Processing. I had this plan to recover from atypical depression by visualizing all of basic linear algebra using Processing but… I couldn’t program a computer for some time. Doh!
Re:An animated introduction to Fourier series by bosuanzi on Tuesday June 04, 2024 @06:17PM (#40579527)
I think that we need't use processing for animation. In fact, Geogebra is easy to accomplish them.
Re:An animated introduction to Fourier series by rjurney on Tuesday June 04, 2024 @07:40PM (#40580032)
You should try it sometime. You might fall in love with it.
Re:An animated introduction to Fourier series by teleforce on Tuesday June 04, 2024 @09:08PM (#40580448)
Looks like that link is broken as well.
Re:An animated introduction to Fourier series by nomemory on Wednesday June 05, 2024 @04:51AM (#40582792)
Thanks for noticing, the source code for all the animations can be found here: https://github.com/nomemory/andreinc-site/tree/main/assets/j...

It's not something I am particularly proud of, as I was learning p5.js while writing the article, so I've started doing things in a very inefficient way.

When I have some spare time, I will update the article accordingly to include the correct links.

Re:An animated introduction to Fourier series by xrd on Wednesday June 05, 2024 @01:22PM (#40587735)
I'm really fascinated by the discussions here. A few days ago I posted a blog that uses animations to talk about embeddings and cosine distance.

https://webiphany.com/2024-04-29-distance-sean-shawn

I used Svelte and basically pure HTML.

This post has the entirety of the post as a download if you scroll to the bottom and click the view source link. You can download a Svekyll blog that can be compiled with "npm run build" so you can hack the code yourself.

I think Svelte is an incredible tool for building these kinds of animations. I would be very curious to see how/if you would compare processing and Svelte, Andre?

Re:An animated introduction to Fourier series by sva_ on Wednesday June 05, 2024 @05:21PM (#40590773)
It managed to make my S23U lag, which I don't experience often.

Very good read though, thanks for that. Was reading it while spending the sunset under a tree in a hammock.