• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Cassini Oval

    How To... ?
    3
    12
    2554
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • crystalhorizon
      crystalhorizon Tech Staff last edited by

      Hi you math geniuses. How can I do a cassini oval like this gif https://commons.wikimedia.org/wiki/File:Animated_Line_of_Cassini.gif in Isadora? Would like to use the burning points interactivly.

      Reply Quote 0
        1 Reply Last reply
      • Michel
        Michel Tech Staff last edited by

        @crystalhorizon
        how about starting with this shader? :-)
        Best Michel
        Reply Quote 0
          1 Reply Last reply
        • jhoepffner
          jhoepffner last edited by

          Directly in Isadora, for the moment, no way (for my knowing)

          – you can try with shader, but can be difficult
          – you can try with Processing but not exactly easy neither
          – You can do it with Mathematica or Maplesoft…
          Jacques
          Reply Quote 0
            1 Reply Last reply
          • jhoepffner
            jhoepffner last edited by

            You can begin to study the function in Grapher (MacOs)

            I think it's doable in GLSL fragment shader, like
            if (![](webkit-fake-url://889f2f2f-5097-409e-8742-bac4002237ac/application.pdf)){
            color is black;}
            else if {
            color is white}
            with T an uniform variable between 0 and 2 changed in Isadora.
            Too late to do it now, bed time here in Paris :-)
            Jacques

            8a7f8c-lignedecassini.jpg 360b8a-lignedecassini.gcx.zip

            Reply Quote 0
              1 Reply Last reply
            • crystalhorizon
              crystalhorizon Tech Staff last edited by

              @Michel a shader would be great, but where to find?

              Reply Quote 0
                1 Reply Last reply
              • crystalhorizon
                crystalhorizon Tech Staff last edited by

                @[jhoepffner](/troikatronixforum/profile/15/jhoepffner) 
                Thanx for the comment. Is Grapher 389 dollars? Thats a lot now...
                http://www.goldensoftware.com/products/grapher
                Can´t see some of your post, see screenshot

                205b49-screenshot-2016-10-26-23.24.28.png

                Reply Quote 0
                  1 Reply Last reply
                • Michel
                  Michel Tech Staff last edited by

                  @crystalhorizon

                  oh I forgot to post the link: https://www.shadertoy.com/view/4d33Rf

                  Reply Quote 0
                    1 Reply Last reply
                  • crystalhorizon
                    crystalhorizon Tech Staff last edited by

                    @Michel thank you!

                    Reply Quote 0
                      1 Reply Last reply
                    • jhoepffner
                      jhoepffner last edited by

                      Hello,

                      No Grapher is free and included with every Macos…
                      Maplesoft and Mathematica are not free.
                      I make a little exploration of your problem. In Processing it's possible to work on it, first you have ro use the parametric equation, not the cartesian.
                      But no time to finish and present it.
                      Jacques
                      Reply Quote 0
                        1 Reply Last reply
                      • jhoepffner
                        jhoepffner last edited by

                        I just take a look to the Michel example, it's exactly that inside the for loop, two separate equation for x and y with t as parameter.

                        Reply Quote 0
                          1 Reply Last reply
                        • jhoepffner
                          jhoepffner last edited by

                          @[crystalhorizon](/troikatronixforum/profile/371/crystalhorizon)  Hello,
                          I take some time to try Cassini line in shader. Here are the result. At the moment you see only the central part (between the two centers), but I hope to find a solution for the complete view.
                          Here is the patch with commented glsl shader.
                          It's a beginning, up to you to continue!
                          Jacques

                          46b5ca-shadercassini.izz

                          Reply Quote 0
                            1 Reply Last reply
                          • crystalhorizon
                            crystalhorizon Tech Staff last edited by

                            @jhoepffner

                            Oh that is wonderful. Thank you! I will go deeper into that one ))
                            Reply Quote 0
                              1 Reply Last reply