Skip to content

[p5.js 2.0+ Bug Report]: #9138

Description

@kfahn22

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • WebGPU
  • p5.strands
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

2.1.1

Web browser and version

About Safari

Operating system

macOS Tahoe 26.6.2

Steps to reproduce this

Steps:

  1. Error occurs trying to initialize the frame buffer

Snippet:

let cnv = createCanvas(windowWidth, windowHeight, WEBGL)
let  fbA = createFramebuffer({
		width,
		height,
		format: FLOAT,
		textureFiltering: NEAREST
	});

Error message:
Warning: The requested width/height exceeds hardware limits. Adjusting dimensions to width: 0, height: 0.
This environment does not support FLOAT textures. Falling back to UNSIGNED_BYTE.
This environment does not support FLOAT depth textures. Falling back to UNSIGNED_INT.

This sketch was operational in Safari when I submitted it to #WCCChallenge on openProcessing last week. I have checked other sketches and I think all the ones that use a frame buffer are broken. https://openprocessing.org/@kfahn/2997648

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions