processing / processing/p5.js-web-editor

Auto-stretching behavior on Mobile Preview Screen

Open
#1,485 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Mobile
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Nature of issue?
  • Existing feature enhancement
Feature enhancement details:

Following discussion from #1472 , we have to decide on a sizing behavior for the sketch rendering canvas in mobile mode. Should it auto-stretch (cover), fit within screen dimensions (contain) or overflow?

@catarak suggested we initialize the sketch with full-screen dimensions, and let the user change at own will, but we don't know how confusing that may be to users

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the discussion in #1472 and the mobile preview screen's canvas sizing implementation. Compare the proposed cover, contain, overflow, and full-screen initialization behaviors against the user experience described here. Done requires an agreed sizing behavior and an implemented, validated mobile preview result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.