Skip to content

[p5.strands] should instanceID() be auto-converted to a float? #7856

Open
0 of 1 issue completed
Open
@davepagurek

Description

@davepagurek

Topic

I was working on this sketch https://openprocessing.org/sketch/2664809 and instanceID() / 10 gives a type error, but 0.1 * instanceID() does not. For consistency and to reduce the number of times a programmer has to manually convert between numeric types, do you think we should just auto-convert instanceID() to a float behind the scenes?

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for Work

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions