Browse Search Popular Register Upload Rules User list Login:
Search:
chain2tracer

Image:
screenshot of the scene

Author: s_noonan

Group: Technical

Filesize: 68.43 kB

Date added: 2019-10-20

Rating: 6.1

Downloads: 217

Views: 160

Comments: 6

Ratings: 3

Times favored: 0

Made with: Algodoo v2.1.0

Tags:
tool

Scene tag

Converts a chain into a tracer path.
Last edited at 2019/11/28 10:22:59 by s_noonan
Please log in to rate this scene
edit
Similar scenes
Title: Single Line Guitar
Rating: 5.625
Filesize: 0.78 MB
Downloads: 398
Comments: 1
Ratings: 2
Date added: 2019/10/20 14:09:50
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: scanner
Rating: 5
Filesize: 103.34 kB
Downloads: 302
Comments: 0
Ratings: 1
Date added: 2020/08/28 11:45:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: For Kidest Adaya
Rating: 5
Filesize: 25.33 kB
Downloads: 126
Comments: 0
Ratings: 1
Date added: 2018/05/20 00:21:20
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Numberblocks brush tool challenge 1-5
Rating: 5
Filesize: 81.4 kB
Downloads: 2226
Comments: 1
Ratings: 1
Date added: 2021/01/08 11:15:40
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Destroy The City alpha v0.1
Rating: 5
Filesize: 0.83 MB
Downloads: 3255
Comments: 1
Ratings: 1
Date added: 2016/09/01 22:44:22
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Manual Sim Controller
Rating: 6
Filesize: 104.41 kB
Downloads: 3954
Comments: 14
Ratings: 3
Date added: 2022/05/11 22:43:28
Made with: Algodoo v2.1.0
Rating: rated 6
download
This is an interesting and fun scene. Nice job! :tup:

Here are a few comments, suggestions, and questions.....

1. Step #1 in the widget states: Right-Click yellow circle
and "Use as Chain".
Logically that command tells me to right-click the yellow circle, and right-click "Use as Chain" which won't work as expected. So I think it would be less ambiguous if you changed that to: Right-Click yellow circle, then Left-Click "Use as Chain".

2. What does "Reset Array" do, and how should it be used?

3. You explain how to use the yellow circle in the widget but not the blue circle. What is the blue circle's purpose in the widget?

4. As is the case in other similar scenes you've done with tracers, it would be a nice feature to be able to adjust the size of the tracer, the color, and the fade time. Maybe do those things with a convenient widget with sliders.

Oh, one more thing.... You might want to mention something about adjusting the "link distance" of the chain in order to make the animation more or less smooth. When I first started this scene, my link distance just happened to be set to some large number which made the animation look horrible.
Last edited at 2019/10/20 19:21:27 by Xray
Regarding #1, I agree. Thanks. I will fix that.

Q: What does "Reset Array" do, and how should it be used?
A: "Reset Array" clears the path array. The array should be empty before drawing with the chain. The problem is that the array automatically gets filled with the sample link entityIDs when the widget is spawned.

Q: You explain how to use the yellow circle in the widget but not the blue circle. What is the blue circle's purpose in the widget?
A: The blue circle is required to complete the chain link. The yellow circle adds its entityID to the array upon spawning. Once the yellow circles are created, the blue circles and hinges are no longer needed. The yellow circles are left so that you can change their position if desired. If you don't need to adjust the yellow circles, then you can skip steps #4 and #5. A drawing can be made up of several chains. The reason for two circles instead of one box is that I wanted to record the position of the hinges, not the center of the link.

Q: It would be a nice feature to be able to adjust the size of the tracer, the color, and the fade time.
A: I did not include that since that widget is already available in Algodoo. The tracer base circle has a _blank property that is true for retrace blanking and false for continuous loop. The base circle also has a _cycleTime property that automatically gets set in the onSpawn event.

Q: You might want to mention something about adjusting the "link distance" of the chain in order to make the animation more or less smooth.
A: I agree. I thought the link distance got saved with the scene, but apparently not.
In case you did not know this, you can force selection of the chain tool and its link distance as shown in the following script:

Tools.ChainTool.SelectTool;
Tools.ChainTool.LinkDistance = 0.05

You can put that in "onSpawn" if appropriate.
Last edited at 2019/10/21 22:46:45 by Xray
I knew about the first line of code but not the second. I updated the widget to set link distance to 0.05 on startup.
Wow! :o
Thanks.