add point ribbon and update readme

This commit is contained in:
Yongwei Xing 2021-03-04 19:55:33 +08:00
parent f529917c67
commit 1a8c8fb011

View file

@ -18,6 +18,7 @@
- Silk Sky - Silk Sky
- Dot Line - Dot Line
- Swirl - Swirl
- Point Ribbon
For these kinds of art, the package provides as many as parameters to control the appearance. For these kinds of art, the package provides as many as parameters to control the appearance.
@ -41,6 +42,7 @@ NewSilkSmoke(mc, msp int, minStep, maxStep, minRadius, maxRadius float64, isRand
NewSpiralSquare(squareNum int, rectSide, decay float64, randColor bool) NewSpiralSquare(squareNum int, rectSide, decay float64, randColor bool)
NewSwirl(a, b, c, d, xaixs, yaixs float64) NewSwirl(a, b, c, d, xaixs, yaixs float64)
NewDotLine(n int, ras, canv float64, randColor bool) NewDotLine(n int, ras, canv float64, randColor bool)
NewPointRibbon(r float64)
``` ```
## General Options ## General Options