Skip to content

#72 - rounded bezels - committed demo project#73

Draft
mikeclayton wants to merge 13 commits into
mainfrom
feature/rounded-bezels
Draft

#72 - rounded bezels - committed demo project#73
mikeclayton wants to merge 13 commits into
mainfrom
feature/rounded-bezels

Conversation

@mikeclayton

Copy link
Copy Markdown
Owner

No description provided.

@mikeclayton mikeclayton marked this pull request as draft June 11, 2026 08:34
@mikeclayton

Copy link
Copy Markdown
Owner Author

Current code generates this image from pure dotnet / GDI drawing calls:

image

Code is a bit scrappy though - needs to be refactored into a proper library and integrated into FancyMouse.

@mikeclayton

Copy link
Copy Markdown
Owner Author

Latest code includes a "cross section profile" function that returns the normal at points along the cross section. It uses this to calculate the intensity of the lighting effect (highlight / shadow).

This version uses rounded edges at the exterior and interior edges of the bezel

image

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.

1 participant