[PR #77] [MERGED] A Donut widget. #186

Closed
opened 2026-03-03 16:23:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/77
Author: @mum4k
Created: 1/19/2019
Status: Merged
Merged: 1/21/2019
Merged by: @mum4k

Base: develHead: donut


📝 Commits (10+)

  • 834e3b3 Function that draws empty and filled circles.
  • 5919767 Ability to draw circles.
  • 3eea419 BrailleLine can clear pixels as well.
  • 50a734d Ability to clear pixels.
  • 045bd3f Improving test coverage.
  • ebc275c Merge branch 'devel' into donut
  • 310ea21 Skeleton for the donut widget.
  • 54b6dce Bugfix - correctly determine area on a braille canvas.
  • 286ab5c A function that can fill arbitrary shapes on the braille canvas.
  • 486172e faketerm.Diff also prints out the rune differences.

📊 Changes

25 files changed (+4966 additions, -44 deletions)

View changed files

📝 README.md (+11 -0)
📝 canvas/braille/braille.go (+5 -2)
📝 canvas/braille/braille_test.go (+158 -2)
📝 canvas/braille/testbraille/testbraille.go (+7 -0)
draw/braille_circle.go (+263 -0)
draw/braille_circle_test.go (+1191 -0)
draw/braille_fill.go (+160 -0)
draw/braille_fill_test.go (+270 -0)
📝 draw/braille_line.go (+76 -23)
📝 draw/braille_line_test.go (+95 -4)
📝 draw/testdraw/testdraw.go (+7 -0)
images/donutdemo.gif (+0 -0)
📝 images/termdashdemo.gif (+0 -0)
📝 numbers/numbers.go (+37 -0)
📝 numbers/numbers_test.go (+128 -0)
📝 termdashdemo/termdashdemo.go (+31 -13)
📝 terminal/faketerm/diff.go (+13 -0)
trig/trig.go (+224 -0)
trig/trig_test.go (+471 -0)
widgets/donut/circle.go (+118 -0)

...and 5 more files

📄 Description

  • draw primitives for full and partial circles.
  • bugfixes in braille.Canvas.
  • a Donut widget.

Fixes #12


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mum4k/termdash/pull/77 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 1/19/2019 **Status:** ✅ Merged **Merged:** 1/21/2019 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `donut` --- ### 📝 Commits (10+) - [`834e3b3`](https://github.com/mum4k/termdash/commit/834e3b365eb77daea2f4f9be485109946a4165c5) Function that draws empty and filled circles. - [`5919767`](https://github.com/mum4k/termdash/commit/5919767099726e9604570641c2e69aca05a1696d) Ability to draw circles. - [`3eea419`](https://github.com/mum4k/termdash/commit/3eea41990e6ffc2293cee64079000c1251e48f50) BrailleLine can clear pixels as well. - [`50a734d`](https://github.com/mum4k/termdash/commit/50a734d77af42954e92c96ca65863783c6b95358) Ability to clear pixels. - [`045bd3f`](https://github.com/mum4k/termdash/commit/045bd3ffd1b03572e4a7bceabfa792f15ccd0d2f) Improving test coverage. - [`ebc275c`](https://github.com/mum4k/termdash/commit/ebc275c4b3bd6b5bdec7b29a8e1dc531c5b83fde) Merge branch 'devel' into donut - [`310ea21`](https://github.com/mum4k/termdash/commit/310ea212d33fd2d25b5ce067912103adb115ac5c) Skeleton for the donut widget. - [`54b6dce`](https://github.com/mum4k/termdash/commit/54b6dce805069534e951e21c1cb1fe798a00bab2) Bugfix - correctly determine area on a braille canvas. - [`286ab5c`](https://github.com/mum4k/termdash/commit/286ab5c504928cee177a185179908833f401258d) A function that can fill arbitrary shapes on the braille canvas. - [`486172e`](https://github.com/mum4k/termdash/commit/486172e4f96a3df7aae3365a472fc72d1fabe5ca) faketerm.Diff also prints out the rune differences. ### 📊 Changes **25 files changed** (+4966 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+11 -0) 📝 `canvas/braille/braille.go` (+5 -2) 📝 `canvas/braille/braille_test.go` (+158 -2) 📝 `canvas/braille/testbraille/testbraille.go` (+7 -0) ➕ `draw/braille_circle.go` (+263 -0) ➕ `draw/braille_circle_test.go` (+1191 -0) ➕ `draw/braille_fill.go` (+160 -0) ➕ `draw/braille_fill_test.go` (+270 -0) 📝 `draw/braille_line.go` (+76 -23) 📝 `draw/braille_line_test.go` (+95 -4) 📝 `draw/testdraw/testdraw.go` (+7 -0) ➕ `images/donutdemo.gif` (+0 -0) 📝 `images/termdashdemo.gif` (+0 -0) 📝 `numbers/numbers.go` (+37 -0) 📝 `numbers/numbers_test.go` (+128 -0) 📝 `termdashdemo/termdashdemo.go` (+31 -13) 📝 `terminal/faketerm/diff.go` (+13 -0) ➕ `trig/trig.go` (+224 -0) ➕ `trig/trig_test.go` (+471 -0) ➕ `widgets/donut/circle.go` (+118 -0) _...and 5 more files_ </details> ### 📄 Description - draw primitives for full and partial circles. - bugfixes in braille.Canvas. - a Donut widget. Fixes #12 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:23:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#186
No description provided.