【问题标题】:Find arc() edge while using p5js在使用 p5js 时查找 arc() 边缘
【发布时间】:2019-05-01 20:39:59
【问题描述】:

我无法理解如何找到 arc() 边缘。 目前我用鼠标控制白线。 如果鼠标在黄色区域之外,目标是将该线更改为红色。

我使用这个代码:

arc( xloc, yloc, size - i * steps, size - i * steps, 60, 90 );

【问题讨论】:

  • 从你的描述看来,这个问题是和P5js有关,而不是浏览器的原因,建议你把问题发到p5js forum或者github issues。

标签: javascript automatic-ref-counting distance edge-detection


【解决方案1】:

看看this 库。它显示在 p5js.org 上的 library page 上。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多