top

PHUN physics Toy

Post new topic Reply to topic FizzX.org Forum Index | Off Topic Forum    Page 1 of 1

Thu May 22, 2008 1:26 am PostPost subject: PHUN physics Toy
Harvey
Major Contributor
Major Contributor


Joined: 16 Jan 2008
Posts: 1927

Reply with quote

I was playing with this program and made this 'scene'. If you have Phun, you can copy and paste this to a file with a phn extension and load it into Phun.

I don't know why it won't stop. It just keeps going. Even if you use drag to stop it, it starts back up again. And whats really weird is that it rotates in either direction. I thought it was stress on the parts, so I repinned them, and it still runs perpetually.

Bessler.phn
Code:

version = 1;
{
    angle = 2.120117664337158;
    body = 42;
    collide = false;
    color = [0.3401491641998291, 0.3388717770576477, 0.7544936537742615];
    density = 2.0;
    friction = 0.5;
    id = 735;
    pos = [4.180892944335938, -4.602298259735107];
    radius = 0.5554571151733398;
    restitution = 0.5;
    type = "circle"
};
{
    angle = 0.0;
    body = 0;
    color = [0.6023265719413757, 0.5651719570159912, 0.2229569405317307];
    dist = 8.191583633422852;
    friction = 0.5;
    id = 802;
    normal = [0.0, 1.0];
    pos = [0.0, 0.0];
    restitution = 0.5;
    type = "plane"
};
{
    angle = 0.9910112023353577;
    body = 36;
    collide = true;
    color = [0.09060288965702057, 0.9013310074806213, 0.8711717128753662];
    density = 2.0;
    friction = 0.5;
    id = 2699;
    pos = [4.249670505523682, -4.218911170959473];
    restitution = 0.5;
    type = "polygon";
    vecs = [[-0.3603920936584473, 0.5947563648223877], [-0.3603920936584473, 0.5541307926177979], [-0.3603920936584473, 0.5135049819946289], [-0.3603920936584473, 0.4728794097900391], [-0.354588508605957, 0.4148426055908203], [-0.3487849235534668, 0.3742170333862305], [-0.3429808616638184, 0.3277873992919922], [-0.3429808616638184, 0.2871618270874023], [-0.3429808616638184, 0.2465362548828125], [-0.3429808616638184, 0.2059102058410645], [-0.3429808616638184, 0.1652846336364746], [-0.313962459564209, 0.130462646484375], [-0.2501220703125, 0.1188554763793945], [-0.2153000831604004, 0.09564065933227539], [-0.1746745109558105, 0.08983707427978516], [-0.1340489387512207, 0.07242584228515625], [-0.1050305366516113, 0.03760385513305664], [-0.08181571960449219, 0.002781867980957031], [-0.07020854949951172, -0.03784370422363281], [-0.07020854949951172, -0.07846927642822266], [-0.06440496444702148, -0.1248989105224609], [-0.06440496444702148, -0.1655244827270508], [-0.06440496444702148, -0.2061500549316406], [-0.06440496444702148, -0.2467761039733887], [-0.06440496444702148, -0.2874016761779785], [-0.08761930465698242, -0.3280272483825684], [-0.1108341217041016, -0.3686532974243164], [-0.1340489387512207, -0.403475284576416], [-0.1572637557983398, -0.4382972717285156], [-0.1920857429504395, -0.4615116119384766], [-0.2269077301025391, -0.4847264289855957], [-0.2617297172546387, -0.5079412460327148], [-0.2965517044067383, -0.531156063079834], [-0.3313736915588379, -0.5543704032897949], [-0.3313736915588379, -0.594996452331543], [-0.3255701065063477, -0.6356220245361328], [-0.3023552894592285, -0.6704440116882324], [-0.2791404724121094, -0.705265998840332], [-0.2385149002075195, -0.705265998840332], [-0.1978893280029297, -0.7110695838928223], [-0.1572637557983398, -0.7110695838928223], [-0.1166377067565918, -0.7110695838928223], [-0.07601213455200195, -0.7110695838928223], [-0.03538656234741211, -0.705265998840332], [0.005239486694335938, -0.6878552436828613], [0.04586505889892578, -0.6704440116882324], [0.08068704605102539, -0.6472291946411133], [0.1097054481506348, -0.6182107925415039], [0.1445274353027344, -0.594996452331543], [0.1677422523498535, -0.5601744651794434], [0.179349422454834, -0.5195484161376953], [0.2025642395019531, -0.4847264289855957], [0.2315826416015625, -0.4557080268859863], [0.2547969818115234, -0.4208860397338867], [0.2722082138061523, -0.3802604675292969], [0.2780117988586426, -0.339634895324707], [0.2838153839111328, -0.2932052612304688], [0.2954230308532715, -0.2525796890258789], [0.3128337860107422, -0.2119541168212891], [0.3360486030578613, -0.1771321296691895], [0.3476557731628418, -0.1365060806274414], [0.3476557731628418, -0.09588050842285156], [0.3476557731628418, -0.05525493621826172], [0.3476557731628418, -0.01462888717651367], [0.3476557731628418, 0.02599668502807617], [0.3476557731628418, 0.06662225723266602], [0.3476557731628418, 0.1072478294372559], [0.3476557731628418, 0.1478738784790039], [0.3360486030578613, 0.1884994506835938], [0.3128337860107422, 0.2233214378356934], [0.289618968963623, 0.258143424987793], [0.2722082138061523, 0.2987689971923828], [0.2489933967590332, 0.3335909843444824], [0.2315826416015625, 0.3742170333862305], [0.2025642395019531, 0.4032354354858398], [0.179349422454834, 0.4380574226379395], [0.1503310203552246, 0.4728794097900391], [0.115509033203125, 0.4960939884185791], [0.08649063110351562, 0.5251123905181885], [0.05747222900390625, 0.5541307926177979], [0.02845382690429688, 0.5831491947174072], [-0.006368160247802734, 0.6063637733459473], [-0.04699373245239258, 0.6179711818695068], [-0.08761930465698242, 0.6237747669219971], [-0.1282453536987305, 0.6295783519744873], [-0.1688709259033203, 0.6295783519744873], [-0.2094964981079102, 0.6295783519744873], [-0.2501220703125, 0.6295783519744873], [-0.290748119354248, 0.6353821754455566], [-0.3313736915588379, 0.6353821754455566], [-0.3719992637634277, 0.6237747669219971]]
};
{
    angle = -2.150808572769165;
    body = 41;
    collide = true;
    color = [0.09060288965702057, 0.9013310074806213, 0.8711717128753662];
    density = 2.0;
    friction = 0.5;
    id = 2692;
    pos = [4.12721061706543, -4.97443675994873];
    restitution = 0.5;
    type = "polygon";
    vecs = [[-0.3603920936584473, 0.5947563648223877], [-0.3603920936584473, 0.5541307926177979], [-0.3603920936584473, 0.5135049819946289], [-0.3603920936584473, 0.4728794097900391], [-0.354588508605957, 0.4148426055908203], [-0.3487849235534668, 0.3742170333862305], [-0.3429808616638184, 0.3277873992919922], [-0.3429808616638184, 0.2871618270874023], [-0.3429808616638184, 0.2465362548828125], [-0.3429808616638184, 0.2059102058410645], [-0.3429808616638184, 0.1652846336364746], [-0.313962459564209, 0.130462646484375], [-0.2501220703125, 0.1188554763793945], [-0.2153000831604004, 0.09564065933227539], [-0.1746745109558105, 0.08983707427978516], [-0.1340489387512207, 0.07242584228515625], [-0.1050305366516113, 0.03760385513305664], [-0.08181571960449219, 0.002781867980957031], [-0.07020854949951172, -0.03784370422363281], [-0.07020854949951172, -0.07846927642822266], [-0.06440496444702148, -0.1248989105224609], [-0.06440496444702148, -0.1655244827270508], [-0.06440496444702148, -0.2061500549316406], [-0.06440496444702148, -0.2467761039733887], [-0.06440496444702148, -0.2874016761779785], [-0.08761930465698242, -0.3280272483825684], [-0.1108341217041016, -0.3686532974243164], [-0.1340489387512207, -0.403475284576416], [-0.1572637557983398, -0.4382972717285156], [-0.1920857429504395, -0.4615116119384766], [-0.2269077301025391, -0.4847264289855957], [-0.2617297172546387, -0.5079412460327148], [-0.2965517044067383, -0.531156063079834], [-0.3313736915588379, -0.5543704032897949], [-0.3313736915588379, -0.594996452331543], [-0.3255701065063477, -0.6356220245361328], [-0.3023552894592285, -0.6704440116882324], [-0.2791404724121094, -0.705265998840332], [-0.2385149002075195, -0.705265998840332], [-0.1978893280029297, -0.7110695838928223], [-0.1572637557983398, -0.7110695838928223], [-0.1166377067565918, -0.7110695838928223], [-0.07601213455200195, -0.7110695838928223], [-0.03538656234741211, -0.705265998840332], [0.005239486694335938, -0.6878552436828613], [0.04586505889892578, -0.6704440116882324], [0.08068704605102539, -0.6472291946411133], [0.1097054481506348, -0.6182107925415039], [0.1445274353027344, -0.594996452331543], [0.1677422523498535, -0.5601744651794434], [0.179349422454834, -0.5195484161376953], [0.2025642395019531, -0.4847264289855957], [0.2315826416015625, -0.4557080268859863], [0.2547969818115234, -0.4208860397338867], [0.2722082138061523, -0.3802604675292969], [0.2780117988586426, -0.339634895324707], [0.2838153839111328, -0.2932052612304688], [0.2954230308532715, -0.2525796890258789], [0.3128337860107422, -0.2119541168212891], [0.3360486030578613, -0.1771321296691895], [0.3476557731628418, -0.1365060806274414], [0.3476557731628418, -0.09588050842285156], [0.3476557731628418, -0.05525493621826172], [0.3476557731628418, -0.01462888717651367], [0.3476557731628418, 0.02599668502807617], [0.3476557731628418, 0.06662225723266602], [0.3476557731628418, 0.1072478294372559], [0.3476557731628418, 0.1478738784790039], [0.3360486030578613, 0.1884994506835938], [0.3128337860107422, 0.2233214378356934], [0.289618968963623, 0.258143424987793], [0.2722082138061523, 0.2987689971923828], [0.2489933967590332, 0.3335909843444824], [0.2315826416015625, 0.3742170333862305], [0.2025642395019531, 0.4032354354858398], [0.179349422454834, 0.4380574226379395], [0.1503310203552246, 0.4728794097900391], [0.115509033203125, 0.4960939884185791], [0.08649063110351562, 0.5251123905181885], [0.05747222900390625, 0.5541307926177979], [0.02845382690429688, 0.5831491947174072], [-0.006368160247802734, 0.6063637733459473], [-0.04699373245239258, 0.6179711818695068], [-0.08761930465698242, 0.6237747669219971], [-0.1282453536987305, 0.6295783519744873], [-0.1688709259033203, 0.6295783519744873], [-0.2094964981079102, 0.6295783519744873], [-0.2501220703125, 0.6295783519744873], [-0.290748119354248, 0.6353821754455566], [-0.3313736915588379, 0.6353821754455566], [-0.3719992637634277, 0.6237747669219971]]
};
{
    angle = -2.837178707122803;
    body = 49;
    collide = true;
    color = [0.1380954831838608, 0.9076001048088074, 0.02907660789787769];
    density = 2.0;
    friction = 0.5;
    id = 3884;
    pos = [4.501333236694336, -4.710439205169678];
    radius = 0.0314873643219471;
    restitution = 0.5;
    type = "circle"
};
{
    angle = 2.546291351318359;
    body = 54;
    collide = true;
    color = [0.07193136960268021, 0.02907660789787769, 0.9076001048088074];
    density = 2.0;
    friction = 0.5;
    id = 4004;
    pos = [4.430909633636475, -4.748795032501221];
    radius = 0.0314873643219471;
    restitution = 0.5;
    type = "circle"
};
{
    angle = -0.2327015399932861;
    body = 57;
    collide = true;
    color = [0.9076001048088074, 0.1362136155366898, 0.02907660789787769];
    density = 2.0;
    friction = 0.5;
    id = 4062;
    pos = [4.502288818359375, -4.772634506225586];
    radius = 0.0314873643219471;
    restitution = 0.5;
    type = "circle"
};
{
    ccw = false;
    color = [1.0, 1.0, 1.0];
    controller = "";
    geom0 = 735;
    geom0pos = [-3.249552719353233e-06, -3.388161985640181e-06];
    geom1 = 0;
    geom1pos = [4.180895805358887, -4.60217809677124];
    motor = false;
    motorSpeed = 1.570796370506287;
    motorTorque = 100.0;
    size = 0.393004447221756;
    type = "hinge"
};
{
    ccw = false;
    color = [1.0, 1.0, 1.0];
    controller = "";
    geom0 = 2699;
    geom0pos = [-0.2681979537010193, 0.2598207890987396];
    geom1 = 735;
    geom1pos = [0.4109055399894714, 0.09557551890611649];
    motor = false;
    motorSpeed = 1.570796370506287;
    motorTorque = 100.0;
    size = 0.1128609254956245;
    type = "hinge"
};
{
    ccw = false;
    color = [1.0, 1.0, 1.0];
    controller = "";
    geom0 = 2699;
    geom0pos = [-0.2636314332485199, -0.5874940752983093];
    geom1 = 735;
    geom1pos = [-0.3573614954948425, -0.2732933163642883];
    motor = false;
    motorSpeed = 1.570796370506287;
    motorTorque = 100.0;
    size = 0.1128609254956245;
    type = "hinge"
};
{
    ccw = false;
    color = [1.0, 1.0, 1.0];
    controller = "";
    geom0 = 2692;
    geom0pos = [-0.2641310095787048, -0.5859177112579346];
    geom1 = 735;
    geom1pos = [0.3538599908351898, 0.2508034706115723];
    motor = false;
    motorSpeed = 1.570796370506287;
    motorTorque = 100.0;
    size = 0.08553259819746017;
    type = "hinge"
};
{
    ccw = false;
    color = [1.0, 1.0, 1.0];
    controller = "";
    geom0 = 2692;
    geom0pos = [-0.2835516631603241, 0.2802168726921082];
    geom1 = 735;
    geom1pos = [-0.4209381937980652, -0.136822372674942];
    motor = false;
    motorSpeed = 1.570796370506287;
    motorTorque = 100.0;
    size = 0.08553259819746017;
    type = "hinge"
}


Cool
Back to top
View user's profile Send private message
 
Fri May 23, 2008 12:10 am PostPost subject:
alsetalokin
Site Admin


Joined: 14 Apr 2007
Posts: 640
Location: Sol III

Reply with quote

That's pretty cool. At first I though it might be a "H--X" since, as we all know, gravity wheels are impossible. So I looked at all the hinges to see if you had a motor enabled--he he he. I couldn't find anything untoward, except there seems to be an extra "body" somewhere...info lists seven but I only see 6, and after deleting all 6 info still says "1 body"...
Anyway, I enabled a motor in the central hinge, so that acceleration events could be studied:
select central hinge, enable MOTOR, CONTROL W/ ARROWS, REVERSED
and set 0.57 rpm and strength 117
_________________
"Abandon hope, all ye who enter here..."
Back to top
View user's profile Send private message
 
Fri May 23, 2008 4:08 am PostPost subject:
Harvey
Major Contributor
Major Contributor


Joined: 16 Jan 2008
Posts: 1927

Reply with quote

The Seventh Body is the Plane at the bottom of the screen.

I've built a lot of models in this program and they always come to a stop. This one has me puzzled. It turns with or without the the little rollers. At one point I had about 12 of those in there and it keeps going. You think its some sort of motor glitch?
Back to top
View user's profile Send private message
 
Fri May 23, 2008 12:09 pm PostPost subject:
JoinTheFun
Contributor
Contributor


Joined: 26 Jan 2008
Posts: 38
Location: Netherlands

Reply with quote

That's a phun scene you got there, Harv, but how reliable would Phun be ?
_________________
Very Happy
Back to top
View user's profile Send private message Visit poster's website
 
Fri May 23, 2008 1:56 pm PostPost subject:
alsetalokin
Site Admin


Joined: 14 Apr 2007
Posts: 640
Location: Sol III

Reply with quote

"You think its some sort of motor glitch?"

I don't know, but I see that Hartmann at overunity.com has also got a gravity wheel running in a simulation...
_________________
"Abandon hope, all ye who enter here..."
Back to top
View user's profile Send private message
 
Mon May 26, 2008 5:40 pm PostPost subject:
Gent
Regular Contributor
Regular Contributor


Joined: 03 May 2008
Posts: 62
Location: Springfield Mo.

Reply with quote

Hi all I guess I'm too stupid to create a file with a .phn extension I keep ending up with text files ? Help?

I finaly figured it out lol.
Prett cool program!

Gent
Back to top
View user's profile Send private message
 
Tue May 27, 2008 1:15 am PostPost subject:
Harvey
Major Contributor
Major Contributor


Joined: 16 Jan 2008
Posts: 1927

Reply with quote

Well I played around with it a bit more. I eliminated the gravity and it still rotates. So I thought perhaps it was related to the movement I could see between the parts, some type of resonance. Since these have a 'bounciness' setting I reduced it to zero and increased the friction to max (2). No change.

Then I changed the density to see if it had an effect on rigidity. It seems to on some level as when the density increases the movement between parts decreases, but the rotation increases. For some reason, a density of 0.19 will cause a very slow left rotation and 0.18 will cause a very slow right rotation. So there seems to be a condition where the density resonates with the hinges causing recursive inertial deviation. It's probably related to rounding Pi somewhere. Confused

At any rate, I doubt this is any realistic effect. Most likely it is just some mathematical artifact.

Mr. Green


Last edited by Harvey on Tue May 27, 2008 1:23 am; edited 1 time in total
Back to top
View user's profile Send private message
 
Tue May 27, 2008 1:20 am PostPost subject:
alsetalokin
Site Admin


Joined: 14 Apr 2007
Posts: 640
Location: Sol III

Reply with quote

You mean--Oh Noooo!!

I almost have those polygons all machined out, and special Hinges on the way...

And now you tell me...
_________________
"Abandon hope, all ye who enter here..."
Back to top
View user's profile Send private message
 
Tue May 27, 2008 1:33 am PostPost subject:
Harvey
Major Contributor
Major Contributor


Joined: 16 Jan 2008
Posts: 1927

Reply with quote

alsetalokin wrote:
You mean--Oh Noooo!!

I almost have those polygons all machined out, and special Hinges on the way...

And now you tell me...


ROFL - I just found the magic number, LOL you'll never guess what it is.

.007 Twisted Evil

Changing this for all 3 poly's stops the rotation Very Happy

Edit: Oops Embarassed not true - .018 for the poly's and .007 for the circle. (Or .007 for the poly's and .0027 for the circle) The factor is not the same for both sets but it is a repeating decimal in both cases. In the case of the .018 divided by .007 we see the magic cyclic number emerge - The very number that excludes Teslas magic group, 3,6,9. The same sequence that lays along Marko Rodins shear lines. 142857 Wink

Fortunately it does not fall into the The Valenzetti Equation resulting in the dreaded 4, 8, 15, 16, 23 and 42 bad numbers Hurley won the lottery with. Shocked
Back to top
View user's profile Send private message
 
Post new topic Reply to topic FizzX.org Forum Index | Off Topic Forum
View previous topic
View next topic
Display posts from previous:   




You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum