Skip to content

2D Vector Field Component #458

Description

@bewuwy

There should be a Vector / Arrow Field / Quiver 2D component.

x, y, u, v -> x,y location; u,v is the vector which to draw (length/direction)

Input: func f(x,y) => u,v

Arrows:

  • if (u,v) is zero - no arrow

Options:

  • (num) scaleLength - if not set and scale is true, then use a default
  • (bool) scale - default true, if disable, then dont scale
  • (bool) isArrow - if false, then just lines, default true
  • start point - by default end is at x,y; there shold also be an option to do middle or end of the arrow, default is start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions