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

Use antialiased circles, arcs and lines #395

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

zwim
Copy link
Contributor

@zwim zwim commented May 27, 2024

After #396 (because this adds the aliasing?)

Use the anti alias feature on watchfaces:
Mix, Monotimer and Numerals

zwim added 12 commits May 25, 2024 17:37
minor cleanups

Avoid flickering and optimize

new line drawing algorithm

Use more floats (save 1k of Flash)

Fix AA-circle quirk

more float to go

use hypotf

Different ending for thick lines

Try to optimize with trigonometric table.

fine tune

Optimize division of chunkHeight

Optimized arc, better AA

lower CPU freq for power savings

Saves approx 50% during on time.

disable cpufreq

honor review

Screen fill
One step to lua

Make Twilight watchface with LUA support

add drawArcAA and migrate OswAppWatchface

Make LUA work with emulator
Copy link
Member

@RuffaloLavoisier RuffaloLavoisier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there 😄

Could you please split the PR into small pieces and request it? If there are many changes, it is difficult to check the review and potential influence. It is also possible to make and merge sub PR separately.

sample

main PR
- sub PR feature 1
- sub PR feature 2

@zwim
Copy link
Contributor Author

zwim commented Jul 25, 2024

Hi there back.

Unfortunately no. You are free to take that code or not (and modify what you like).

This code works for me, and I am pleased with it
modern lua, big lua files, anti aliased good looking hands ...

Cheers
Marrim

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