Coding Challenge #116: Lissajous Curve Table

[ad_1]
In this Coding Challenge, I visualize a “Lissajous Curve Table” with Processing (Java).

🔗
🎥 Lissajous Curve ported to p5.js:
💻

🎥 Lissajous Curve by standupmaths:
🎥 Polar Coordinates:
🎥 2D Arrays in JavaScript:

🔗

🐦
🐦

🚂 Website:
💖 Patreon:
Store:
📚 Books:

🎥 Coding Challenges:

🔗 p5.js:
🔗 Processing:


Posted

in

by

Tags:

Comments

34 responses to “Coding Challenge #116: Lissajous Curve Table”

  1. Ar A Avatar

    Hey can you build cryptography ? using an algorithm like Lattice-based? it is post-quantum proof algo,here is wiki page https://en.wikipedia.org/wiki/Lattice-based_cryptography

  2. Isobel Taylor Avatar

    Are you on Mastodon, can I follow you??

  3. Luis Miguel Gallego Gómez Avatar

    15:35 Hahaha 🙂 I agree rows and columns in that order is more standard, but without a doubt, when I declare matrices that carry even a minimal of "cartesianity" meaning, I always go for X and Y order. I think code should be the more unambiguous the better. I even prefer to call the iteraring variables x and y, instead of i and j… XD

  4. Benjamin Harvey Avatar

    I had literally the same thought when I saw Matt Parker’s video

  5. David Avatar

    Just saw that Lissajous gif on Twitter and were asking to myself "hey, that could be a nice project to do on Processing…". And here it is! Thank you!

  6. Ashutosh Sahoo Avatar

    Please teach python please

  7. Owl Surojit Avatar

    Could someone please make a remix of 5:43 to 5:47 ? Because that's hilarious ^^

    PS: Love your videos; It is you who motivated me to become a programmer…

  8. Lázaro Villela Avatar

    I need that whistle

  9. SkyFullOStars Avatar

    I wonder what the curves would look like in 3D, like another set of sin waves that control height?

  10. Пётр Попов Avatar

    Do a rubicks cube next time

  11. Juan Luis Claure Avatar

    this is too good to be

  12. Лёша Рубцов Avatar

    Люблю твои видео! Ты очень позитивный и занимаешься хорошим делом))

  13. Twelve Zone Avatar

    My version is p5.js
    https://codepen.io/ZoneTwelve/full/aRdxoO/
    Maybe you wanna to see that

  14. xRoGeSx Avatar

    Saw the tiny bit of those cuves in Matt Parker video myself, coded it myself and then here you are! Amazing to see another style of coding for the identical tasks.

  15. rolf van kleef Avatar

    The error you got is a but in JOGL. It is harmless and can be ignored. It will be silenced in a later release.

  16. Otakutaru Avatar

    sin waves under an oscilloscope XY anyone?

  17. r c Avatar

    You should do a break down on some of the “Art” programs on the site called complexification .net. Its run by Jared Tarbel although he no longer posts new pieces. But his art is cool and he posts the source code!

  18. ReverendFlatus Avatar

    It looks like there is a phase difference between the columns and rows.

  19. Golden Freddy Avatar

    I’m so confused, yet so satisfied. This was pretty cool!

  20. Victor Kohler Lesgal Pakas Avatar

    please make a video about kotlin

  21. Petey Hayman Avatar

    you're a magician dan <3

  22. Jacker Deluxe Avatar

    Hey Dan! You can use Processing's built-in attribute functions like ellipseMode(CORNER) for drawing circles from their upper-left corner. That way you won't have to calculate the circles' center offset.^^

  23. Timati Loh Avatar

    it really looks so cool, just like pure harmonics in nature

  24. Diamonddrake Avatar

    The angle is offset when being used, so your angle reset is out of phase. But really cool

  25. riots Avatar

    Pff this is easy

    ..to watch

  26. iLiquid Avatar

    if you want really good performance, use the FX2D renderer

  27. Grant De Lacy Avatar

    The pattern made by these curves at 25:04 looks as if it is following the left visualisation shown here: http://mathworld.wolfram.com/LeastCommonMultiple.html

  28. SkyFullOStars Avatar

    I first saw the Lissajous demonstration in the standupmaths video, and I wanted to see if I could do this in Python. I havent tried it out, but Ill follow along as I watch, converting to Python… ^_^

  29. iTzPlaryLoL Derpy Avatar

    Nice! Great video as always, Dan!

  30. jsg425 Avatar

    I love your videos! I learn so much from them. I understand programming concepts as taught by you quicker and more completely than anyone else. I also love how you problem solve as you go. It helps me see the process. Keep it up, my man!

Leave a Reply

Your email address will not be published. Required fields are marked *