Question: Why do you have so many hidden layers and so many nodes for such a simple task? Is that visualization truly representative of the neural net that you created?
Okay, sounds logical. In any case I am totally blown away by this scene. The subject (neural networks) is something that I have been interested in for about the past year but I do not yet have the "smarts" for making any kind of scene with it. You were certainly fortunate to have FRA32 help you with it. In my opinion he is a very talented mathematician.
I got to 13 or 14 when my wife yelled from across the house that someone wants to talk to me on the phone. That was hours ago and I'm just now getting back on-line. I'll comment how far I get when I have a chance to do it again.
Nice job!
Update: I got all the way to the end, once I knew that they are very tricky questions!
Oh, that's the problem! As of around 2012 we no longer use keys.bind because of some issues with it. We now use keys.isDown("key").
You can place the script in onKey, but for most applications it works just fine in postStep. In onKey, you get just one key press with each key press. In postStep, you get multiple key presses (machine gun style) if you hold the key down. For the keys you mentioned above, the script would look like the following:
You probably noticed that the very first keypress of "a" or "s" it does not work. That's because the scene is always in "edit" mode, and keys a and s are used to trigger built-in functions. You can prevent that by forcing the scene into PLAY mode each time the scene RUNs. Here's how: In the upDate event of any geometry put the following script:
app.gui.playMode = sim.running
I use that in nearly every scene that I make. I think you will like it!
For what it's worth, the scene works for me but the timing is somewhat erratic. i.e., sometimes the button responds rather quickly and sometimes it takes a few seconds to respond. The timing may be slightly erratic, but it always works.
Thanks, s_noonan. Actually, this scene began as a tutorial for making realistic-looking water. That's why I created all those custom local variables which were totally unnecessary for this particular scene that it ended up being. I lost interest in making a tutorial, and that's when I decided to just make a regular scene out of it. After I was watching the waves for a few minutes, I thought to myself: "This is very relaxing, but it's also very boring. So, I added the "message in a bottle" gimmick. But, as I'm sure you would agree, the bottle needs more than just being a floating object. It needs a "surprise" of some sort, and I may do that in a future update.
T_Reißig -- Enable the grid. You should see where bright vertical and horizontal lines intersect right above the dome at the peak of the Enterprise body. That is the origin coordinates [0.0,0.0] for the Algodoo world. Now zoom in, keeping that intersection in the center of the display. When zoomed in far enough, you should see the laser. The laser is located on layer-1. So, in order to edit objects on a layer other than zero, you need to select that layer. You do that by right-clicking on the background, then hover your cursor on the word "Layers" which will display the Layers control panel. Then left-click on "Layer 1" which should make the word turn red. Once layer 1 has been selected you will be able to copy or edit the laser which is located on that layer.
Chasnia has only 1.2 square miles of land, and the population is 1,659,273 people? Holy cow! According to my calculation, there are slightly over 20 people per square foot! That is a VERY crowded country!
You didn't like the oscilloscope because you didn't understand how to use it! If someone were to teach you how to use it, then you would realize what a valuable tool it is for electronics repair, experimenting, or engineering. There are a lot of YouTube channels that explain how to use an oscilloscope, but they are not as good as a real person right beside you explaining things and answering questions.
I do like electronics. It has been my hobby during my entire life since I was old enough to get a shock from the Mains power. It has also been my profession during most of my adult life. I have made some interesting and dangerous projects over the years, and because of my very strict safety precautions, I have managed to not injure or kill myself!
That's a great idea, T_ReiBig! I'll play around with it.
Oh, by the way, if you want to select just the spring body and not the end points, hold down the Alt key then left click the spring body. The Alt key also works with items that were glued together but you want to only select one of those items.
Suggestion: The UP key has no effect because the spring automatically returns the head to home position. You can fix that by deleting the spring, and then enable BRAKE in the axle control panel by clicking the check mark box next to BRAKE. Up and Down keys will then function correctly.
ProfessionalSudo -- Most of the shaking is caused by the front shock absorber. I'm not certain WHY it shakes, but when I deleted it, and made a shock absorber with the axle that is attached to the door, all the shaking stopped. There is another reason for a slight up and down warble, especially at the faster speeds, and that is caused by "run out" on both wheels. Run out means that the axle is not exactly centered on the wheel. If you can adjust the positions of the front and rear wheels with both axles, there should be no run out, and the truck will run as smoothly as a brand new one!