Browse Search Popular Register Upload Rules User list Login:
Search:
I don't know what you are doing wrong. Copy/Paste works for me. Here is the script that chemist gave you:

c := e.other.color;
color = [(color(0) + c(0)) / 2, (color(1) + c(1)) / 2, (color(2) + c(2)) / 2, 1];
e.other.color = color

I selected the text from his comment, and then I press Ctrl-C. I then placed my cursor here in this comment and pressed Ctrl-V. The text pasted here as you see it.

Maybe you are not selecting the text properly. Here is how I do it. Place the cursor to the left of the first word of the text you want to copy. Then press the left mouse button and KEEP it pressed while you slowly slide the cursor over the entire text that you want to copy. When you have the desired text highlighted in black, release the left mouse button. Now with the text highlighted, you press the Ctrl key with one finger, and then while holding the Ctrl key, you press the C key. Then release both keys and move your cursor to where you want to paste the text. Click the left mouse button one time to place the cursor where you want the text to be pasted. Then press and hold the Ctrl key with one finger while you tap the V key with another finger. Your text should be pasted. If that doesn't work, then you are still doing something wrong.
buildman - You said that you have a request, but I do not see a request. I only see "help me with this", but that does not explain anything at all (I can not read your mind!). Please tell me what you want and maybe I can help you.
You learned Thyme scripting very quickly, and you obviously are good at math and logic. So, the next logical course for you to take when you are ready is to learn software engineering. When you are ready to go to college, that might be a good choice for your future. When you have learned good programming techniques and practices, then you will be able to write script like kilinich does! :tup:
Thanks guys!
Thanks! :)
What are we supposed to do? You give no instructions.
The printer is rather SLOOOOOOOOOWWWWWWWW. But it does produce very clear, symmetrical, and readable text (unlike many other matrix printers on Algobox).

Other than it being slow, you did a great job on it! :tup:
COOL! Very nice 3D Kaleidoscope effect. :tup:
s_noonan - No, not at all. You can generate "soft" X-rays if you apply the high voltage to a vacuum tube, such as certain old radio or TV tubes. But the arcing high voltage from the coil only emits RF radiation, some UV light, and a lot of noise! Oh, and there is also the smell of Ozone, which is not good to inhale for too long.

Angelinox3 - Show me the link please.

EDIT: I searched the web myself, and found only one mention of Tesla Coils producing X-rays, and this is what it said:

"X-rays can be produced whenever there is a high voltage present. Although a number of coilers have tested their coils for x-ray radiation and found none present that is not to say that x-rays cannot be produced, especially if vacuum tubes, light bulbs, and other evacuated vessels are placed near a coil."

So, that pretty much backs up what I said. But if anyone can find any article that states "Tesla Coils (by themselves) produce X-rays" I would certainly like to read it.
Last edited at 2014/02/13 05:07:10 by Xray
Please explain the difference between scene I and II.
Thanks, that was very helpful.
No, it's not impossible to beat. You just have to learn the right technique for beating it! Play with it some more, and you will figure it out.
MUCH better now! I also like the status display of the matrix and pins that you added. EXCELLENT JOB! :tup:
Hmmm.... Okay. I'll take a look at the code and see if I can figure it out.

Thanks! (really!) :lol:


EDIT: Clever use of lasers behind each pixel!_o_
I'm not quite sure why you needed four of them, but in time I'll figure it out.

EDIT2: I now know why you needed four lasers. They are what give four levels of gray scale. Right?
Last edited at 2014/02/13 04:47:10 by Xray
There are no clouds in space.
How old is your son? He might like some of the games here on Algobox. If you click on my user name, you will find a couple of games that I made which he might enjoy playing (such as Frogger or Pac Man).
This looks real interesting but I do not understand what it's function is. Please explain.
Angelinox3 - Did you read my comment? I would like to know where on the web you read that Tesla Coils produce X-rays. Give me the link to a web site that makes that claim.
Hmmmm..... That was my assumption too. Do you know of an accurate method to test the rate difference between update and postStep?


BTW - Very imaginative scene. Well done! :tup:
Last edited at 2014/02/13 16:50:59 by Xray
Concerning update and postStep, I ran a simple test. I wrote exactly the same counter script in each, and I had them start exactly at the same time when I started Algodoo (they both had "sim.running ?" script). Here is what I found:

When the sim.frequency is set to 60Hz, both counters ran at the same rate. i.e., when I stopped both counters at the same time after running for about 15 seconds, the resulting counts were very close (+/- 2 counts) to each other. When I adjusted the sim.frequency and ran the test again, I found that it made a HUGE difference in the count rate of the "postStep" script and little or no difference in the count rate of the "update" script. So, apparently, there IS a difference in the rates that those two properties handle script, and only at 60Hz, they are very close or spot on with each other.
Last edited at 2014/02/13 17:35:54 by Xray
epic? :huh:
We do not allow scenes that request voting or any other type of "message" scene because we do not want Algobox turning into a forum. If you want votes for marbles, or if you want to alert other users about a future scene, then please use the Algodoo forum for those sorts of things. Algobox is only for uploading active scenes. People can make comments about the scenes, and you can explain things about the scenes with your comments, but we do not want scenes to be used to post messages. That's what the forum is for.

I hope you understand.
Move the script from onKey to postStep, then it will work!
That's a good point about selecting springs. Some people may not realize that when you select a spring in the usual way that you select other objects, you will actually select three objects (the spring and the two end points). If you want to select only the spring, you must press and hold the Alt key while clicking on the spring.

In this particular case, Fruitmonger selected all three objects because I see that the script was written to all three objects (which is redundant and ill-advised). Therefore, he should delete the code that was written to both end points, and then move the code in the spring.
What I have learned from you is to combine calculations so that they are short and efficient. A simple example would be:

In the past I would write:
postStep = (e)=>{angle > 0.0 ? {color = [1,0,0,1]}:{color = [0,0,0,1]}}

But now I learned that I could put the code in the color script box like this:

color = {angle > 0.0 ? [1, 0, 0, 1] : [0, 0, 0, 1]}

I learned that from you! :)
Works well, except for some slippage on the drive wheels. I increased the friction on those wheels to +inf and now the movement seems to be improved.

Good job. :tup:
That's not a car. It's a smiley face! :o
Nice effect! :tup:
I don't recall everything that I learned from you, but in general your code is compact and efficient, and that is mostly what I learned from you.

Thanks!
Real smooth action. Nice job! :tup: (I wish I had 3-round burst on my real pistols! Unfortunately, I do not have the FFL for it. :cry: )
previous | 1 … 68 69 70 71 72 … 442 | next