4 ms·
Hey, author of the project and the 2013 post here. Just wanted to wish everyone amazing holidays! Thank you for love and shares :D PS: More projects since 201
by anvaka 7y ago
Hey, author of the project and the 2013 post here.
Just wanted to wish everyone amazing holidays! Thank you for love and shares :D
PS: More projects since 2013 can be found here: https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A20&src=typed_query https://twitter.com/search?q=from%3Aanvaka%20min_retweets%3A... - hope you enjoy it.
- harshreality 7y agoThat vector field one is really neat. https://anvaka.github.io/fieldplay/?cx=-0.4690500000000002&cy=0.3672500000000001&w=15.8023&h=15.8023&dt=0.01&fo=0.998&dp=0.009&cm=1&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%0A%20%20%2F%2F%20change%20this%20to%20get%20a%20new%20vector%20field%0A%20%20v.x%20%3D%200.2%20*%20%28%20p.y*p.y*p.y%20-%20p.x*p.x%20-%20p.y*p.y%20%2B%20p.y*p.x%20-%20p.x*p.x*p.x%20%29%3B%0A%20%20v.y%20%3D%20-0.2%20*%20%28p.y*p.y*p.x%20%20-%20p.y%20-%20p.x%20%29%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%0A%20%20%2F%2F%20change%20this%20to%20get%20a%20new%20vector%20field%0A%20%20v.x%20%3D%200.2%20*%20%28%20p.y*p.y*p.y%20-%20p.x*p.x%20-%20p.y*p.y%20%2B%20p.y*p.x%20-%20p.x*p.x*p.x%20%29%3B%0A%20%20v.y%20%3D%20-0.2%20*%20%28p.y*p.y*p.x%20%20-%20p.y%20-%20p.x%20%29%3B%0A%0A%20%20return%20v%3B%0A%7D https://anvaka.github.io/fieldplay/?cx=-0.4690500000000002&c...
- anvaka 7y agoThank you! Amazes me how some people use it creatively to teach ordinary differential equations https://twitter.com/sxpmaths/status/1192079061025263616?s=19 https://twitter.com/sxpmaths/status/1192079061025263616?s=19
- ivalm 7y agoX-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&...