Documentation ¶
Index ¶
- func NewBlackHole(circleN int, density, circleGap float64) *blackHole
- func NewCircleGrid(circleNumMin, circleNumMax int) *circleGrid
- func NewCircleLine(step float64, lineNum int, radius, xaixs, yaixs float64) *circleLine
- func NewCircleLoop(radius float64) *circleLoop
- func NewCircleLoop2(depth int) *circleLoop2
- func NewCircleMove(circleNum int) *circleMove
- func NewCircleNoise(dotsN, colorMin, colorMax int) *circleNoise
- func NewColorCanve(seg float64) *colorCanva
- func NewColorCircle(circleNum int) *colorCircle
- func NewColorCircle2(circleNum int) *colorCircle2
- func NewContourLine(lineNum int) *contourLine
- func NewDomainWrap(scale, scale2, xOffset, yOffset float64, cmap ColorMapping) *domainWrap
- func NewDotLine(n int, ras, canv float64, randColor bool) *dotLine
- func NewDotsWave(dotsN int) *dotsWave
- func NewGirdSquares(step, rectSize int, decay float64) *girdSquares
- func NewJanus(n int, decay float64) *janus
- func NewJulia(formula GenFunc, maxz, xaixs, yaixs float64) *julia
- func NewMaze(step int) *maze
- func NewNoiseLine(n int) *noiseLine
- func NewOceanFish(lineNum, fishNum int) *oceanFish
- func NewPerlinPerls(circleN, dotsN, colorMin, colorMax int) *perlinPearls
- func NewPixelHole(dotN int) *pixelHole
- func NewPointRibbon(r float64) *pointRibbon
- func NewRandCicle(mc, msp int, minStep, maxStep, minr, maxr float64, isRandColor bool) *randCircle
- func NewRandomShape(shapeNum int) *randomShape
- func NewSilkSky(circleNum int, sunRadius float64) *silkSky
- func NewSilkSmoke(mc, msp int, minStep, maxStep, minRadius, maxRadius float64, isRandColor bool) *sileSmoke
- func NewSolarFlare() *solarFlare
- func NewSpiralSquare(squareNum int, rectSide, decay float64, randColor bool) *spiralSquare
- func NewSwirl(a, b, c, d, xaixs, yaixs float64) *swirl
- func NewYarn(n int) *yarn
- type ColorMapping
- type GenFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlackHole ¶
NewBlackHole returns a blackhole object.
func NewCircleGrid ¶
func NewCircleGrid(circleNumMin, circleNumMax int) *circleGrid
NewCircleGrid returns a circleGrid object.
func NewCircleLine ¶
NewCircleLine returns a circleLine object.
func NewCircleLoop ¶
func NewCircleLoop(radius float64) *circleLoop
func NewCircleLoop2 ¶
func NewCircleLoop2(depth int) *circleLoop2
func NewCircleMove ¶
func NewCircleMove(circleNum int) *circleMove
func NewCircleNoise ¶
func NewCircleNoise(dotsN, colorMin, colorMax int) *circleNoise
func NewColorCanve ¶
func NewColorCanve(seg float64) *colorCanva
func NewColorCircle ¶
func NewColorCircle(circleNum int) *colorCircle
func NewColorCircle2 ¶
func NewColorCircle2(circleNum int) *colorCircle2
NewColorCircle2 returns a colorCircle2 object.
func NewContourLine ¶
func NewContourLine(lineNum int) *contourLine
NewContourLine returns a contourLine object.
func NewDomainWrap ¶
func NewDomainWrap(scale, scale2, xOffset, yOffset float64, cmap ColorMapping) *domainWrap
NewDomainWrap returns a domainWrap object.
func NewDotLine ¶
func NewGirdSquares ¶
NewGirdSquares returns a grid squares generator.
func NewOceanFish ¶
func NewOceanFish(lineNum, fishNum int) *oceanFish
NewOceanFish returns a oceanFish object.
func NewPerlinPerls ¶
func NewPerlinPerls(circleN, dotsN, colorMin, colorMax int) *perlinPearls
func NewPointRibbon ¶
func NewPointRibbon(r float64) *pointRibbon
NewPointRibbon returns a pointRibbon object.
func NewRandCicle ¶
func NewRandomShape ¶
func NewRandomShape(shapeNum int) *randomShape
func NewSilkSky ¶
NewSilkSky returns a silkSky object.
func NewSilkSmoke ¶
func NewSolarFlare ¶
func NewSolarFlare() *solarFlare
func NewSpiralSquare ¶
NewSpiralSquare returns a spiralSquare object.
Types ¶
type ColorMapping ¶
ColorMapping maps some parameters to color space.
type GenFunc ¶
type GenFunc func(complex128) complex128
GenFunc defines a func type used by julia set.
Source Files ¶
- blackhole.go
- circlegrid.go
- circleline.go
- circleloop.go
- circleloop2.go
- circlemove.go
- circlenoise.go
- colorcanva.go
- colorcircle.go
- colorcircle2.go
- contourline.go
- domainwrap.go
- dotLine.go
- dotswave.go
- janus.go
- julia.go
- maze.go
- noiseline.go
- oceanfish.go
- perlinpearls.go
- pixelhole.go
- pointRibbon.go
- randcircle.go
- randomshape.go
- silksky.go
- silksmoke.go
- solarflare.go
- spiralsquare.go
- squaregrid.go
- swirl.go
- yarn.go
Click to show internal directories.
Click to hide internal directories.