Skip to content

WebGL Slower than earlier versions - is that normal?  #6407

Closed
@joemckay5

Description

@joemckay5

Topic

Hi all.
I'm working on a game in p5 using WebGL. I've noticed that current versions of P5 are laggy, especially in Safari, however, if I back up to version 0.10.2 the game runs much more smoothly.
Question: Is this just the way it is and WebGL 2 has more features but is slower, or is there a "better practices" way to work with WebGL 2 that I'm not using?
If looking at my code helps, here's a relatively recent build on my website. http://www.joemckaystudio.com/awfultreefarmer/
I'm running this on an older (2019) intel mac laptop.
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions