How to simulate lightning kind of flash light for millisecond period

How to simulate lightning kind of flash light for millisecond period

hhnaing2
Not applicable
148 Views
3 Replies
Message 1 of 4

How to simulate lightning kind of flash light for millisecond period

hhnaing2
Not applicable

[ FlexSim 23.1.1 ]

Hi, Flashing light.fsm

I would like to make a machine that involves flashing of light inside. Just for better visuallization, is there any way to make flashing of light for millisecond. For example, I want to flash light below the conveyor as soon as the part stop or arrive at the station. Could someone help me if this can be done and appreciated if you could do a simple sample in my model? Thanks a lot.

0 Likes
Accepted solutions (1)
149 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor

About 12 years ago students set a shape visible for a short time. They resized the shape in steps randomly in such periods fast. This looked quite realistic for welding flashes.

Message 3 of 4

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

Here's an example by changing the intensity of one of the light objects.

flashing-light_jl.fsm

Warning: contains flashing lights.

For the timing you need to consider how fast your model is running and the framerate at which the model is repainting the window. Running realtime and pulsing the light for just one millisecond at 60fps is probably not going to show the flash. You could alternatively quench the light as part of the onDraw, allowing at least a frame or two to be drawn.

Message 4 of 4

chanykE2WUT
Advocate
Advocate
Nice work!