supershapes3D


    Jun 28 2006 | 12:26 pm
    hi supershapers!
    please look at the formula.
    i don

    • Jun 28 2006 | 12:31 pm
      dead link...
      -thijs
      On 6/28/06, didi bruckmayr wrote:
      >
      >
      > http://paul.wasp.uwa.edu.au/surfaces/supershape3d/
      >
      >
      >
    • Jun 28 2006 | 2:09 pm
      link works for me - no idea about the math though as your patch
      didnt show up. Can you save it as text and paste it in? forum
      attachments done seem to work, and there is no attachment via email.
      fwiw:
      heres some interesting posts on superShape/superformula via dataisnature
      http://dataisnature.com/?p=318
      v a d e //
      www.vade.info
      abstrakt.vade.info
      On Jun 28, 2006, at 8:31 AM, Thijs Koerselman wrote:
      > dead link...
      >
      > -thijs
      >
      >
      > On 6/28/06, didi bruckmayr wrote:
      >
      > http://paul.wasp.uwa.edu.au/surfaces/supershape3d/
      >
      >
      >
    • Jun 28 2006 | 5:14 pm
      sorry! tried to att 2 times...
      here my formula for 2d:
      cheers!
      dd
    • Jun 29 2006 | 5:13 am
      gruesse dd,
      i was able to get the 2d formula to work (based on the code here:
      jeremy
      max v2;
      On 28-Jun-06, at 1:14 PM, didi bruckmayr wrote:
      >
      > sorry! tried to att 2 times...
      >
      > here my formula for 2d:
      >
      > #P window setfont "Sans Serif" 9.;
      > #P flonum 776 193 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 597 195 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 418 189 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 239 190 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P window linecount 1;
      > #P newex 60 225 727 196617 jit.expr 1 float32 64 64 @inputs 5 @expr
      > "pow(pow(abs(cos(norm[0]*TWOPI/4.)/
      > in[1])\,in[3])+pow(abs(sin(norm[0]*TWOPI/4.)/in[2])\,in[3])\,
      > -1./in[4]";
      > #P flonum 804 77 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 625 79 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 446 73 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 267 74 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 88 109 726 196617 jit.expr 1 float32 64 64 @inputs 5 @expr
      > "pow(pow((cos(norm[0]*TWOPI/4.)/in[1])\,
      > in[3])+pow((sin(norm[0]*TWOPI/4.)/in[2])\, in[3])\, -1./in[4])";
      > #P flonum 88 60 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 88 82 130 196617 jit.matrix 1 float32 64 64;
      > #P comment 8 43 100 196617 version 1;
      > #P comment 59 187 100 196617 version 2;
      > #P window linecount 2;
      > #P comment 63 289 100 196617 fill in extension to 3d;
      > #P connect 9 0 5 4;
      > #P connect 14 0 10 4;
      > #P connect 8 0 5 3;
      > #P connect 13 0 10 3;
      > #P connect 7 0 5 2;
      > #P connect 12 0 10 2;
      > #P connect 6 0 5 1;
      > #P connect 11 0 10 1;
      > #P connect 3 0 5 0;
      > #P connect 4 0 3 0;
      > #P window clipboard copycount 15;
      >
      >
      > cheers!
      >
      > dd
      >
      >
      ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~~ ~~ ~
      New Work: Image-Producing Machine for the Vague-Terrain journal
    • Jun 29 2006 | 11:13 am
      hi jeremy!
      wise guy!
      i used this link as well, but did it wrong with the jit.ops.
      let
    • Jun 29 2006 | 12:25 pm
      On 6/28/06 1:14 PM, "didi bruckmayr" wrote:
      >
      > sorry! tried to att 2 times...
      >
      > here my formula for 2d:
      >
      > #P window setfont "Sans Serif" 9.;
      > #P flonum 776 193 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 597 195 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 418 189 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 239 190 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P window linecount 1;
      > #P newex 60 225 727 196617 jit.expr 1 float32 64 64 @inputs 5 @expr
      > "pow(pow(abs(cos(norm[0]*TWOPI/4.)/in[1])\,in[3])+pow(abs(sin(norm[0]*TWOPI/
      > 4.)/in[2])\,in[3])\,-1./in[4]";
      > #P flonum 804 77 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 625 79 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 446 73 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 267 74 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 88 109 726 196617 jit.expr 1 float32 64 64 @inputs 5 @expr
      > "pow(pow((cos(norm[0]*TWOPI/4.)/in[1])\,
      > in[3])+pow((sin(norm[0]*TWOPI/4.)/in[2])\, in[3])\, -1./in[4])";
      > #P flonum 88 60 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 88 82 130 196617 jit.matrix 1 float32 64 64;
      > #P comment 8 43 100 196617 version 1;
      > #P comment 59 187 100 196617 version 2;
      > #P window linecount 2;
      > #P comment 63 289 100 196617 fill in extension to 3d;
      > #P connect 9 0 5 4;
      > #P connect 14 0 10 4;
      > #P connect 8 0 5 3;
      > #P connect 13 0 10 3;
      > #P connect 7 0 5 2;
      > #P connect 12 0 10 2;
      > #P connect 6 0 5 1;
      > #P connect 11 0 10 1;
      > #P connect 3 0 5 0;
      > #P connect 4 0 3 0;
      > #P window clipboard copycount 15;
      >
      >
      > cheers!
      >
      > dd
      >
      This was helpful but does anyone have a simple working example in 3D?
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson
    • Jun 29 2006 | 2:40 pm
    • Jun 29 2006 | 3:09 pm
      hi rocker!
      i hope it works.....
      i tried this one:
    • Jun 29 2006 | 4:11 pm
      Hey Guys,
      Try this one:
    • Jun 29 2006 | 4:19 pm
      hi dd,
      that works really well! i've updated it so that it uses two shapes -
      one oriented horizontally the other vertically - as demonstrated by
      paul borke's renderings.
      jeremy
      max v2;
    • Jun 29 2006 | 4:36 pm
      Really nice. Thats awesome! now to add some bells and whistles...
      v a d e //
      www.vade.info
      abstrakt.vade.info