Haptic textures

Hi @Antun_Skuric

I got your code to work now, the SPI is amazing

I was wondering what the attrator angle variable does here?

Its the current motor’s shaft angle where the motor will be attracted to.
The arrows show different attractor angles on the plot from before.

Thx @Antun_Skuric
I am still a little unsure how it works. Can you explain it a little deeper for me? Has it something to do with at what point the motor will go from repel to attract on the points?

I saw that you wrote somewhere that the point was is the middle. What if I want the point to be after like 80/20? So when the motor is 80% on the way to the point, it snaps the last 20 %?