News for hackers. Stuff that matters.
Re:Flow-field.js – A library for generating flow fields by darkhorse13 on Monday November 29, 2021 @01:12PM (#29383084)
This is freaking awesome! 2 questions:

- Can I set the result as the background of a <div> element? Or does it have to be on a canvas? Either way, an actual usage example in the README would do wonders.

- Does anyone know of anything similar like this but in Python?

Re:Flow-field.js – A library for generating flow fields by romellogoodman on Monday November 29, 2021 @05:45PM (#29386291)
I added an example to the readme but generally speaking this framework is pretty agnostic and you can use the x, y coordinates in each line with any library
Re:Flow-field.js – A library for generating flow fields by darkhorse13 on Monday November 29, 2021 @06:10PM (#29386554)
Thank you, this is excellent.