As a side note, the UART's in your design sparked my memory of my early engineering days during the 1980's when I learned about UART's in order to utilize them on our custom single-board computers. Many peripheral devices in those days communicated via RS232 serial links.
I'm old enough to remember when Windows first came out. Before Windows, computers used a command-line system, and the operating system was called "DOS" (Disk Operating System). We had no fancy icons to click on because all commands were text based. When the first version of Windows came out, I arrogantly mocked it as a crutch for non-technical people. I was a software engineer back then, and so in my cocky brain Windows was for "simple minded" people. Well, after I used Windows for some time, I realized how awesome it was over the old command-line system of computer control and storage functions. I fell in love with it and, after some time, I never wanted to go back to the old ways of doing things!
All I can say is WOW! That code you wrote in onClick is mind-boggling! I'm guessing you spent many hours designing, testing, and debugging it.
Unfortunately for me, I am not fluent in Python. I learned the basics a few months ago, then I put it aside and didn't do much with it. I would like to run this scene and test it for you but my minimal Python abilities won't allow it.
Funny you mentioned that. I had a 6502 hobby computer beck in my younger days. I thought it was so cool when I learned how to make images with ASCII text characters! In fact there are a few scenes on Algobox that were made with text characters. Below is a link to one that I made a few years ago:
Just to clarify.... You do not need to reupload a scene if you only want to edit the title or the scene description here on Algobox. BUT, if you make any changes to the scene itself, then of course you will need to reupload the edited scene.
Oh, by the way... Your scene title here on Algobox does not need to match the title of the scene file on your computer. So, for example, if your scene on your computer has the title "Big_Marble_Race.phz" it's perfectly okay to give the title on Algobox something different (such as "great race!").
@AngryBirdAlgodoo -- The bird destroys the plane and then it falls out of view before you even think about pressing the B key! You can fix that by unchecking the "killer" checkbox in the bird.
6 by HT -- My comment was for AngryBirdAlgodoo. He/she can edit the scene and then reupload it with the change that I suggested. Of course, until he/she fixes the scene, users (such as yourself) can make that simple change also.
Sorry for the confusion. I should have placed a "@" in front of AngryBirdAlgodoo so that everyone knows that I directed my comment to him/her.
Edit: My previous comment now includes the @ sign!
Thanks for the offer. Unfortunately for me, because of my responsibility as Algodoo admin, I cannot join any groups because it might appear to be favoritism in the eyes of other users. But the good news is, I'm usually available to answer questions and to provide help if needed. If I cannot help you with certain technical issues, there are other very talented (and smarter than I am) people here on Algobox who would be willing to help.
Q: I found out you can't script springs in Algodoo.
A: I added two more springs in order to move the legs in a rhythmic fashion. Each spring has a simple script that uses sin and cos to make the legs move 90 degrees out of phase with each other. The dino doesn't go anywhere but it appears to be moving.
When you say you can't script springs, I thought you were saying that you cannot add lines of script to an existing spring. After thinking more about what you said, I believe you meant that you cannot create new springs via script in a scene (like you can add boxes and circles). If that's what you meant, I totally agree. It just doesn't work!
I tried doing it that way at first but the leg motion I was getting looked kind of wonky. So, I gave up on that idea and just added two new springs. I was able to quickly and easily move those extra springs around until I got them in positions that created a motion that looked somewhat natural.
Your next challenge, if you accept it, is to create a 3D version of this dinosaur. (I'm kidding, of course! )
Good job! The scale works as expected and is fairly accurate.
I hate to be picky, but there are two things that I would change if it were my own scene. They are: 1. Disable the Algodoo clouds. It doesn't make sense to have clouds floating by while using a scale. They can be distracting. 2. I would increase the damping on those two main springs. A damping value of 2.0 seems about right. With the current damping of 0.1 the scale pointer bounces back and forth many times until finally settling down after a weight is placed on the scale. With a damping value of 2.0 it settles down much quicker.
These are just suggestions. You don't have to do them if you don't want to. In any case you did an excellent job on the scale!