Skip to content

Comments

添加爱心、太阳几何图形绘制方法#53

Open
JoinMike333 wants to merge 2 commits intoelpitha:masterfrom
JoinMike333:master
Open

添加爱心、太阳几何图形绘制方法#53
JoinMike333 wants to merge 2 commits intoelpitha:masterfrom
JoinMike333:master

Conversation

@JoinMike333
Copy link

新增功能

  1. drawHeart() - 绘制爱心

    • 参数:中心坐标(x0,y0)、大小、颜色
    • 实现:基于爱心参数方程
  2. drawSun() - 绘制太阳

    • 参数:中心坐标(x0,y0)、半径、颜色、射线数量
    • 实现:中心圆+放射状射线

测试验证

  • 所有方法已在Arduino UNO + SSD1306 OLED上测试通过
  • 代码兼容现有的Adafruit_GFX库

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