Help with synchronization

I would like to ask the mathematical brains here if they could help me with the synchronization of the radar pulse and the visibility of the intruder. I can’t find the right time to sync it. Thank you.

Here’s a video to give you an idea of ​​what I’m trying to achieve.

2 Likes

It would also look good if it rotated with the grid which I see is linked to the compass.

2 Likes

but that’s nonsense. the compass rotates according to how you move around its axis. the non-director does not turn with the compass, it stays in place. maximally moves to the sides or towards you. it should rotate against the compass. to make it look like it’s in the same place. but that’s probably the least of it…

2 Likes

Ha Ha . That is what I was saying . The enemy stay in the same position relative to the compass . It might be behind you . Therefore you would turn your Radar round to see it . The enemy is only approaching you .

3 Likes

If the pulse was a little wider, and the dot a little smaller, you could do a cutout. That way the pulse would light up the dot and you wouldn’t need to worry about the timing.

4 Likes

the dot is a test… feel free to make it smaller, man. I already have impils in the final state, I will change it more complicatedly. besides, I thought the dots would be red.
but I still don’t understand how to do it using the cutout, I can’t imagine how it should work.

2 Likes

whats the code youre using for the ring pulses?

2 Likes

it’s 19 images in a sequence

2 Likes

ok wait does the dot ever move closer to the center?

2 Likes

Yes, it is planned and there will be several of them. look at the video that is under the inspector. I would like to achieve what is on the video.

2 Likes

oh ok, then the cutout idea wont work.

2 Likes

My take on it would be to have black objects on black background and then run the pulsradar behind those. I change the size of the ring upon wake instead of a sequence.

Here an inspectable sample with moving jets and 3 rings growing in size … just my thought…

5 Likes

I think it can work perfectly in the case of static airborne radar for aircraft…

2 Likes

ok @tom.vannes how do you set it so that the ring keeps repeating? The code only works once on wake.
(0+(interpAccel(#DWE#-2,0,5,1)*2000))

2 Likes

use sine or some such periodic function

3 Likes

i dont know much about code, but i used yours to make this. you have to hit dim mode on and off again to see it… (I basically just have the 3 rings on top, then a hole cut. out of a black background, then 3 blurred rings below the cutout) inspectable

4 Likes

To repeat constantly, I would set a condition and then start a value from 0 and let it grow:

`\$(#Ds#%10)=1||(#Ds#%10)=4?((((#DWFSS#/6)%60)-#Ds#)*400):0\$`

So the condition says: every 1st and every 4th second run a timer starting a 0 and multiply that by 400. (Note: #Dsm# is broken, so I use #DWFSS#/6).

That would be for one ring. The second ring, would be for condition 2nd and 5th second and a third one every 3rd and 6th second.

I have added the above to the example watch face.

If you want something to happen every second, then:
`\$(#Ds#%2)=0?((((#DWFSS#/6)%60)-#Ds#)*400):0\$`

4 Likes

without “the cavalry” Facer would be half so good

3 Likes

The cutout idea can work. You would need a big enough plane with the cutout and have the pulsradar run behind the cutout and on top of the cut out:

4 Likes

here is my “two cent” for that problem.

It has some red dots as objects in the background. Then there is a graphic with a opacity shade getting more opaque in the middle and less to the outside. At the corners it is 100% opaque again.

this graphic starts at width/height=0, rises to 400 within one second, and repeat.

To mask out the dots when the radar pic is too small, I use four black rectangles which gets smaller in synch with radar getting larger.

Finally there is the ring, just a circle, that also gets larger within a second, that might be replaced by something more fancy.

3 Likes