A description on a git compatible jj-vcs workflow.

add Circle function #1

merged opened by voigt.tngl.sh targeting main from add_circle
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:6q572hlx7omtsszji5w2fyw3/sh.tangled.repo.pull/3mccq6smq3e22
+8 -8
Diff #0
+8 -8
main.go
··· 4 4 5 5 func init() { 6 6 firefly.Boot = boot 7 - firefly.Update = update 8 7 firefly.Render = render 9 8 } 10 9 ··· 12 11 // ... 13 12 } 14 13 15 - func update() { 16 - // ... 17 - } 18 - 19 14 func render() { 20 15 firefly.ClearScreen(firefly.ColorWhite) 21 - firefly.DrawTriangle( 16 + 17 + addCircle() 18 + } 19 + 20 + // adding a circle 21 + func addCircle() { 22 + firefly.DrawCircle( 22 23 firefly.Point{X: 60, Y: 10}, 23 - firefly.Point{X: 40, Y: 40}, 24 - firefly.Point{X: 80, Y: 40}, 24 + 30, 25 25 firefly.Style{ 26 26 FillColor: firefly.ColorDarkBlue, 27 27 StrokeColor: firefly.ColorBlue,

History

1 round 0 comments
sign up or login to add to the discussion
voigt.tngl.sh submitted #0
3 commits
expand
add Circle function
remove triangle
cleanup
expand 0 comments
pull request successfully merged