3 ms·
X-mas field: https://anvaka.github.io/fieldplay/?cx=12.9055&cy=-22.44975&w=138.3584&h=138.3584&dt=0.01&fo=0.998&dp=0.009&cm=3&vf=%2F%2F%20p.x%20and%20p.y%20are%
by ivalm 7y ago
X-mas field:
https://anvaka.github.io/fieldplay/?cx=12.9055&cy=-22.44975&w=138.3584&h=138.3584&dt=0.01&fo=0.998&dp=0.009&cm=3&vf=%2F%2F%20p.x%20and%20p.y%20are%20current%20coordinates%0A%2F%2F%20v.x%20and%20v.y%20is%20a%20velocity%20at%20point%20p%0Avec2%20get_velocity%28vec2%20p%29%20%7B%0A%20%20vec2%20v%20%3D%20vec2%280.%2C%200.%29%3B%0A%20%20%0A%20%20%2F%2F%20change%20this%20to%20get%20a%20new%20vector%20field%0A%20%20v.x%20%3D%20abs%2810.-p.y%29*sin%28p.y*10.%29*sign%28p.x%29%3B%0A%20%20v.y%20%3D%20-1.%3B%0A%0A%20%20return%20v%3B%0A%7D&code=%2F%2F%20p.x%20and%20p.y%20are%20current%20coordinates%0A%2F%2F%20v.x%20and%20v.y%20is%20a%20velocity%20at%20point%20p%0Avec2%20get_velocity%28vec2%20p%29%20%7B%0A%20%20vec2%20v%20%3D%20vec2%280.%2C%200.%29%3B%0A%20%20%0A%20%20%2F%2F%20change%20this%20to%20get%20a%20new%20vector%20field%0A%20%20v.x%20%3D%20abs%2810.-p.y%29*sin%28p.y*10.%29*sign%28p.x%29%3B%0A%20%20v.y%20%3D%20-1.%3B%0A%0A%20%20return%20v%3B%0A%7D https://anvaka.github.io/fieldplay/?cx=12.9055&cy=-22.44975&...