Skip to content

Huge lag because of line 66 on simulation.js #1

@petally

Description

@petally

Possible just add an 'update' method for each particle, so instead of having to check everything for every particle, you can just loop through the matrix, and then call the respective particle's update function.
Would probably provide a nice speed boost
image
image

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