Coding Curves
bit-101.com
bit-101.com
Making it interactive with a repl would be great, I agree. I've thought about going down that route a few times in the past, but it's then something new to maintain forever. Text and pseudocode will last a long time without touching it.
Thanks for the contents on the Youtube channel. The reason I stopped was because it takes a lot of effort to make those things. And I never was able to successfully monetize them. I've made videos on some other platforms and made good money from them. I just don't have the time to sink into that now for nothing in return.
As for needing a better sales pitch, etc. heh, yeah. This is just a labor of love. It'll go up there and stay up there for many years hopefully. If people find it and get something out of it, I'm happy. I don't expect to make a cent out of it. I'm just passionate about writing and teaching. And I find I learn a lot more when I try to teach.
This is more or less what you propose. I used it to teach programming more than once.
A while back I made an interactive REPL for the book, building out it's DSL, where you can play with the different examples interactively [2]. From what I can tell, a lot of the examples overlap.
[1] https://www.archdaily.com/612210/morphing-mathematical-trans...
What would be cool is to present two different ways to plot the curves: The 'analytic' (or parametric way) and then also shader style where you basically decide for every pixel independently if you draw it or not.
https://www.amazon.com.au/Foundation-ActionScript-Animation-...
Another good book (if that's still anyone's thing) on tweening is the freely available part Dynamic Visuals of Robert Penner's book Programming Macromedia Flash:
Then I drew it using a filthy decompilation of some (java) image editing crap that I knocked up in uni.
I spat all of the images out to a directory (saving buffered images as PNG files) and glued them together with ffmpeg.
I'm not 100% happy with the Moore Curve, since I think that under the circumstances rotational symmetry would be more useful.
I'm also not happy with the fourier transform; I think that for something like this there should be an adequate expression for n points using log(n)/log(2) terms, but the transform that I used includes one term in the output for each in the input.
There might be a degree of something similar to "overfitting" in the result.
Here are a couple of small programs using it, that I wrote a while ago:
Simple drawing program with Python turtle graphics:
https://jugad2.blogspot.com/2016/01/simple-drawing-program-w...
Square spiral - drawing with 3D effect (turtle graphics):
https://jugad2.blogspot.com/2016/08/square-spiral-drawing-wi...
https://en.m.wikipedia.org/wiki/Lissajous_curve
I had done a good amount of elementary 2D graphics programming earlier, on various models of computers and in a few different programming languages, as a hobby, not for work. As part of that tinkering, while plotting various combinations of trigonometric expressions, one of my programs generated what looked like a Lissajous figure, which I recognized from high school math. Fun.
[1] The article says that circles, ellipses, parabolas and lines are special cases of Lissajous figures, based on the values of the parameters in the equations.
Oscilloscopes can be made to generate Lissajous figures based on the inputs you give them.
> Wait for it! > Look for the first installment soon!
You might want change that into a big “next article” button or something :)
I wish you well.
The consumer demographic may be a bit on the sparse side, so don't buy your yacht, just yet...