Skip to content

Resize p5js canvas to content width - #11

Merged
BenZeng04 merged 1 commit into
prototypefrom
resize-p5js
Nov 11, 2021
Merged

Resize p5js canvas to content width#11
BenZeng04 merged 1 commit into
prototypefrom
resize-p5js

Conversation

@dulldesk

Copy link
Copy Markdown
Contributor

Alternate implementation of #9 , this also resizes the canvas content as well (in addition to, like #9, preserving aspect ratio). The min-width can be tweaked/removed as desired.

@BenZeng04
BenZeng04 merged commit 69f866a into prototype Nov 11, 2021
@BenZeng04
BenZeng04 deleted the resize-p5js branch November 11, 2021 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants