Flow-field.js – A library for generating flow fields
1–10 of 16 posts
Re: Flow-field.js – A library for generating flow fields
#2Re: Flow-field.js – A library for generating flow fields
#3Looks neat! I'm wondering why/how the first two results pictures (under "Values For num_steps") in https://tylerxhobbs.com/essays/2020/flow-fields have flow lines that are crossing each other. The paths follow a direction field, so that shouldn't happen except where the gradient vector vanishes, which doesn't seem to be the case there.
Re: Flow-field.js – A library for generating flow fields
#4Re: Flow-field.js – A library for generating flow fields
#5Re: Flow-field.js – A library for generating flow fields
#6Looks neat! I'm wondering why/how the first two results pictures (under "Values For num_steps") in https://tylerxhobbs.com/essays/2020/flow-fields have flow lines that are crossing each other. The paths follow a direction field, so that shouldn't happen except where the gradient vector vanishes, which doesn't seem to be the case there.
There are many different ways to move objects through a flow field. Some people use the vectors to accelerate particles, others as instructions for instantaneous rotation, etc. The crossing lines aren't necessarily following the flow field in those images, but likely are just using vectors as an input to another set of instructions.
Re: Flow-field.js – A library for generating flow fields
#7Looks neat! I'm wondering why/how the first two results pictures (under "Values For num_steps") in https://tylerxhobbs.com/essays/2020/flow-fields have flow lines that are crossing each other. The paths follow a direction field, so that shouldn't happen except where the gradient vector vanishes, which doesn't seem to be the case there.
Re: Flow-field.js – A library for generating flow fields
#8Re: Flow-field.js – A library for generating flow fields
#9- Can I set the result as the background of a 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?