Hello !

I would like to flash/pulsate an image according to the heart rate. But I dont know how to use the sine function properly for this. The outcome should be to show and hide an image 80 times a minute if the heart rate is 80 and so on. Any help is highly appreciated !

Cheers, H.

Edit:

I tried (clamp(((cos(#ZHR#)*50)+50),0,100)) where ZHR is my rate, 50 the heigt and 50 the offset. limited with values 0 and 100. I am just not sure how to bring the rate under control so its corresponding to actual bpm