Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch faces in ambient mode don't show anything #742

Open
codeanticode opened this issue Jun 25, 2023 · 0 comments
Open

Watch faces in ambient mode don't show anything #742

codeanticode opened this issue Jun 25, 2023 · 0 comments

Comments

@codeanticode
Copy link
Member

Rendering when the watch face is in ambient mode does not show anything on the screen, for example this sketch:

void setup() {
  fullScreen();
  strokeCap(ROUND);
  stroke(255);
  noFill();
}

void draw() {
  background(0);  
  if (wearAmbient()) strokeWeight(1);
  else strokeWeight(10);
  float angle = map(millis() % 60000, 0, 60000, 0, TWO_PI);
  arc(width/2, height/2, width/2, width/2, 0, angle); 
}

should show an arc with a stroke weight of 1, but the screen is black.

Tested on a Samsung Galaxy Watch 4 with Wear OS version 3.5. However, other non-Processing watch faces also display a blank screen when the watch switches to ambient mode... maybe it's the default behavior of this particular device. Some discussions that could be relevant:

https://www.reddit.com/r/GalaxyWatch/comments/pjgdl6/ambient_mode_kicks_in_prematurely_and_blocks/

Setting Always On Display to ON does not seem to solve the issue.

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

No branches or pull requests

1 participant