Browse Search Popular Register Upload Rules User list Login:
Search:
Nice work :tup: :tup:
Good. I like the concept. Maybe add a lake to the scene (fake water not real water).:tup:
Nice puzzle. Works flawlessly. Impressive coding. :tup: :tup:
Thanks for the suggestions guys.

pnvv, I'm not sure what you mean by "the meters go away". If you mean they count backwards then that's OK. If you mean they disappear, then that's a bug.
Xray,

Thanks for the feedback. I tried those parameters and got similar results. I also tried various combinations of force and torque on the ends of the spaghetti. I liked the results of using your parameters, but felt uneasy that the scene performed well for only a small range of frequencies.
I think that sim.timeFactor = 1.0/sim.frequency shows every time step, but I'm not absolutely sure.
This is what I would suggest:

scene.my.radPerSec = angvel;
scene.my.rpm = scene.my.radPerSec * 60.0 / (2.0 * math.pi);
scene.my.watts = scene.my.torque * scene.my.radPerSec;
scene.my.hp = scene.my.watts / 745.7;
Last edited at 2015/05/14 10:01:40 by s_noonan
Thanks for the suggestion, but I was not able to improve the performance. Maybe I'm missing something. If I didn't change box color with torque, then I believe your suggestion would be faster.

Details:

I replaced
a := _abs(g1.angle - g0.angle);
g0.colorHSVA = [235.0 - 3133.0 * a, 1, 1, 1];
g1.colorHSVA = [235.0 - 3133.0 * a, 1, 1, 1];
with
torque := ((readable(owner)).totImp3)(2)*sim.frequency;
g0.colorHSVA = [235.0 + 1e6*torque/3.0, 1, 1, 1];
g1.colorHSVA = [235.0 + 1e6*torque/3.0, 1, 1, 1];
and

a > 0.075 ? {
with
torque < -0.00075 ? {

The scene went from 80% of simulation time to 62%. I then tried coloring 1 box per hinge, which sped things up, but caused one end of each of the larger pieces to stay red.
Watts going on? This scene has more potential but I'm currently sensing some resistance.
Last edited at 2015/05/14 10:07:52 by s_noonan
Well done. :tup: :tup: My only suggestion would be to remove the clouds and maybe darken the background.
Regarding "can you make the cams spin at a 2:1 ratio in relation to the crank with bend target?".

See Transmission Hinge. Set _ratio = 2.0.
Thanks.
Nice work. Elegant design. :tup:
Regarding "I think the fact that it runs at 1000 hz has more of an affect on computer performance rather than the color script.":

I agree. I've done some experimenting and it appears that coloring the rotor has little effect on the performance. Coloring the stator only needs to be done once and then the code can be deleted because the stator colors don't change. If you decide to color your scene, then I will delete this one.
Tried your idea. Works well. Thanks.
Bruce Lee is not half the man he used to be.
Sorry, but this scene blows.
Oops. Guess I was wrong. Based on his area property, he is slightly more than half the man he used to be.
Nice work Alex. :tup:
Good ideas as usual, but I don't feel like burning my egg just yet. Feel free to modify and repost this scene.
Xray,

Q: Is your algorithm based on any well-known data smoothing algorithm?
A: I don't know. It was the simplest I could find. It creates a new surface based on midpoints between the original surface adjacent points.

Regarding cutting the original polygon, I didn't realize you could do that. Sounds like a good way to make teeth, stone walls, and igloos.

GMtester,

gradyfitz made the following tutorial:

Thyme Tutorial - With explanations at every step
Thanks. I agree with everything you said.
Last edited at 2015/06/02 23:44:30 by s_noonan
Nice work. :tup:
Eggciting action scene.
Mean comment removed.
Last edited at 2015/06/14 11:05:06 by s_noonan
1. Connect a laser and thruster to a small box.
2. In the box:

_thrusterOn = true;

3. In the laser:

_lastHit = 0;

onLaserHit:
(entityByGeomID((readable(entity))­.geom))._thrusterOn = false;
_lastHit = sim.time

postStep:
sim.time - _lastHit > 0.1 || _lastHit > sim.time ? {
(entityByGeomID((readable(entity)).geom))._thruste­rOn = true
} : {}

4: In the thruster:

(entityByGeomID((readable(owner)).geom)­)._thrusterOn ? {force = 1.0}:{force = 0.0}

5. Put (8) of these equally spaced around your circle.
That's a good question and I don't know the answer. Maybe some Algodoer can fill us in.
previous | 1 … 47 48 49 50 51 … 121 | next