Browse Search Popular Register Upload Rules User list Login:
Laser For Asdru22

screenshot of the scene

Author: Xray

Group: Default

Filesize: 4.42 kB

Date added: 2016-08-26

Rating: 5

Downloads: 382

Views: 175

Comments: 8

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0


Scene tag

Here is the flashing laser you wanted....

UPDATE: Modified code as suggested by kilinich.
Last edited at 2016/08/27 16:09:39 by Xray
Please log in to rate this scene
Similar scenes
Title: Painting laser
Rating: 5
Filesize: 7.86 kB
Downloads: 625
Comments: 0
Ratings: 2
Date added: 2012/07/20 05:45:52
Made with: Algodoo v2.0.0 Edu
Rating: rated 5
Title: Special Laser Cutting Platform
Rating: 5
Filesize: 16.78 kB
Downloads: 1667
Comments: 0
Ratings: 1
Date added: 2011/02/22 13:21:36
Made with: Algodoo before v1.8.5
Rating: rated 5
Title: LASER ROUTER v.01a
Rating: 5.1111
Filesize: 17.64 kB
Downloads: 714
Comments: 0
Ratings: 3
Date added: 2010/03/15 16:22:16
Made with: Algodoo before v1.8.5
Rating: rated 5.1
Title: MAD SCIENTIST'S Hi-Watt Laser (More real laser)
Rating: 9.1591
Filesize: 1.08 MB
Downloads: 154324
Comments: 61
Ratings: 38
Date added: 2010/05/24 20:25:55
Made with: Algodoo before v1.8.5
Rating: rated 9.2
Rating: 5.8889
Filesize: 25.39 kB
Downloads: 728
Comments: 2
Ratings: 3
Date added: 2013/01/10 05:40:07
Made with: Algodoo v2.0.2 Edu
Rating: rated 5.9
Title: Scripted Party Laser V.2
Rating: 5
Filesize: 6.51 kB
Downloads: 223
Comments: 0
Ratings: 1
Date added: 2013/12/30 01:43:13
Made with: Algodoo v2.1.0
Rating: rated 5
Xray are you a hacker just asking
I've done some hacking back in the "old days" when hackers would cheat the phone companies. But now I behave myself. ;)
@Xray is that true?;)
@Xray People still do that, btw.
Yup, I built a "blue box" which gave me free long distance calls. I did it only for a short time because I was too afraid of getting arrested. :o Some stupid hackers did get arrested back then.

By the way, Steve Jobs and Steve Wozniak built and sold blue boxes many years before they started Apple Computers. That was the same timeframe when I built mine from plans that Wozniak published.
Last edited at 2016/08/27 03:59:08 by Xray
I prefer less code:
maxRays = {sim.time % 1 > 0.5 ? 0 : 1000}
A more general approach using Kilinich's method:

_period = 1.0;
_dutyCycle = 0.5;

maxRays = {sim.time % _period > _dutyCycle * _period ? 0 : 1000}
Last edited at 2016/08/27 12:42:21 by s_noonan
Thanks to kilinich and s_noonan for the shorter code suggestions. I already knew how to use both of those methods, but my only excuse for the less efficient code that I used was due to the fact that I was very tired and sleepy when I made this scene. I just wanted to get it done and go to bed! :lol: