Browse Search Popular Register Upload Rules User list Login:
Search:
lololoer,

Good idea. I don't think the code can be more concise than that.
Great idea and implementation. I can't think of a better way of visualizing the Doppler effect. I see you had this idea quite a while ago.
Thanks guys. As usual, your suggestions are good, but I'm not going to do anything about them.
Your formula only works for one case. The following works for all cases:

hinge := (readable(owner));
hinge.geom1 == 0 ? {
_hingeAbsolutePos = hinge.geom1pos
} : {
g1 := (entitybygeomid(hinge.geom1));
r = math.vec.dist([0, 0], hinge.geom1pos);
a = math.atan2(hinge.geom1pos(1), hinge.geom1pos(0));
_hingeAbsolutePos = g1.pos + [r * cos(g1.angle + a), r * sin(g1.angle + a)]
}
Last edited at 2013/12/24 10:06:57 by s_noonan
Nice construction. Easy to use. :tup:
Impressive coding, all done in one object and without any scene.my variables. :tup: :tup:

P.S. Now that you mention it, I do see the three Scene.my. variables. I can also see that, if you chose to, you could eliminate those variables and insert _Sides, _In_Size, and _Out_Size in the text property. You would need to format the numbers to make them short. It is doable, but probably not worth the effort.
Last edited at 2013/12/26 18:52:25 by s_noonan
Q: I no longer see the axles. What happened to them?
A: I deleted them. They were used temporarily to determine the target relative position with respect to the box position. The target relative position = geom0pos. The target absolute position = box.pos + geom0pos.

Q: What are "span" and "span color" properties? I've never seen those for text before. Thanks!
A: They are HTML tags that are used for formatting.
Nope, I'm too lazy. See this comment for starters.
Awesome, as usual. :tup: :tup:
Good idea. Nicely done.
Last edited at 2013/12/29 23:03:17 by s_noonan
Scene did not work in v2.1.0 for me until I readjusted the phlogiston generator.
Last edited at 2014/01/27 10:02:23 by s_noonan
I agree with Xray and see that I have made the same mistake with the sliding vane pumps that I have made. I think that sliding vane hydraulic pumps exist, but they definitely don't compress the oil (much). I think the reason they work is that the inlet and outlet ports are designed so that the oil does not get compressed when pumped from inlet to outlet.

P.S.: I have the book and on page 132 it states that "Rotary vane pumps are often used to deliver fuel at gas stations."
Last edited at 2013/12/30 23:51:48 by s_noonan
Thanks guys. The scene wasn't too involved. Sometimes I have a hard time coming up with ideas, so this time I just piggy backed off of Xray's idea. Someone once said to me "If you can't think of anything to do, then do anything".
Everything works as expected for me (very similar to the Ring Spawner scene). I made a Devo hat. I'm wearing it now to celebrate the new year.
Xray - The tip of the arrow cursor on my display matches the [+], [-], and color boxes very precisely. Those items indicate focus whenever the point of the cursor is within the region bounded by the brackets or within the borders of a color box. I had also seen the off-by-one error, but decided to let it slide. If it was off by two then I would certainly say something. Also, if it was your scene, and off by more than 0.000001, then I would almost certainly say something.
Last edited at 2014/01/04 04:04:20 by s_noonan
What I found interesting is that it took me quite a while before I lost all of my money. I don't know what the average number of plays are if starting out with 100 coins and betting 5 credits each time. The casino eventually gets your money, but I guess they don't take it away all at once.
That's truly amazing, since the chances of the 5 local variables and 17 lines of code matching exactly are 1 in 41,345,194,396,231,726.

P.S. I'm lying
Last edited at 2014/01/03 12:47:10 by s_noonan
Xray - Your Hangman Game started me thinking on how to guess any letter in any position. I was going to make a hangman code engine for people to use in their own hangman game, but then added the gallows at the last minute because it was relatively simple to do so. I tried not to copy any of your code, but I'm sure I was influenced by your scene. You or anybody else (including you-know-who) can use the code to modify or make your own scene. A theme based hangman or a better looking hanged man might be good.

Below is an example on how the dictionary was created:

scene.my.words = "THIS IS MY BIG TEST";
scene.my.dictionary = String.Split(scene.my.words, " ");

P.S. The dictionary contains 2000 of the most common words in the English language.
Last edited at 2014/01/04 13:52:48 by s_noonan
Q: What is "String.Split" function?
A: Splits a string into an array of strings. Usage: Split("foo bar baz", " ") (returns ["foo","bar","baz"])

Q: Where I can find more of this thyme functions?
A: Type "String." in the console, then press Tab.

Q: Are they explained on any algodoo readable file?
A: I don't know.

I came across the String. functions while in the forum, but I forget where.
Last edited at 2014/01/04 17:00:08 by s_noonan
This is an excellent scene. Regarding bottled water, the best thing to do (if possible) is not to buy it to begin with.

From How Much Energy Does It Take to Make Bottled Water?:

"If you imagine that every bottle of water you drink is about three-quarters water and one-quarter oil, you’ll have a pretty accurate picture of how much energy it takes to put that bottle of water in your hand"

plastic bottles are energy-intensive to produce

Bottled Water and Energy Fact Sheet
This is a great idea. If shower water was filtered and reused, than a tremendous amount of energy could be saved. Estimate energy usage of a non-recycled shower using the following:

WATTS = TEMPERATURE RISE (°F) x GALLONS PER MINUTE x 147
WATTS = TEMPERATURE RISE (°C) x LITERS PER MINUTE x 69.8

For a 2.5 gpm shower using water heated 60°F greater than ambient, the energy usage is 22,000 watts. There is probably no appliance in your house that comes close to using that much energy. That's 22kW going right down the drain.
Last edited at 2014/01/05 12:00:52 by s_noonan
Q: Does Ctrl-Tab do anything differently from Tab?
A: I guess not.

Thanks. You just cut my workload in half.
Good scene for showing hinge response and the effects of damping. Change spring damping and see the effect.
Yes. That is what I was trying to say. You just did a better job of saying it.
Well done! :tup:
"I believe that this is the highest it can possibly be without falling"

Now that's a bold statement. I believe it can be made higher by putting the blocks directly over each other. Maybe the goal should be to see who can get the stack to lean the most without falling.
Not a problem. I have a killer floor that automatically cleans up everything. Also,I just noticed that somebody already made a Toilet That Reuses its Water!
Last edited at 2014/01/06 01:05:37 by s_noonan
Good idea, but I'm not interested in creating a contest.

Stacked dominos are treated mathematically in How Round Is Your Circle?
Fixed the link. Thanks.

Q: What does the user need to do with it?
A: I haven't quite figured that out yet. Maybe the screen can be used to automatically put the solid waste into a compartment with sawdust and worms in order to be vermicomposted. Maybe the tank above the toilet can be a big terrarium. The waste can be filtered by the dirt and broken down biologically. Another possibility would be to have a large rotating compost bin so that fully composted material would cover the new stinky stuff. Perforations in the compost bin would allow the liquid to recycle.

This scene was initially made as a joke, but maybe some Algodooers can come up with some realistic ideas (or even some crazy ideas that may lead to good ideas).

P.S. Probably the best may to save water is not to use any to begin with by using a composting toilet.
Last edited at 2014/01/06 01:30:36 by s_noonan
previous | 1 … 30 31 32 33 34 … 121 | next