arts

package
v0.0.0-...-50049f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 11 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBlackHole

func NewBlackHole(circleN int, density, circleGap float64) *blackHole

NewBlackHole returns a blackhole object.

func NewCircleGrid

func NewCircleGrid(circleNumMin, circleNumMax int) *circleGrid

NewCircleGrid returns a circleGrid object.

func NewCircleLine

func NewCircleLine(step float64, lineNum int, radius, xaixs, yaixs float64) *circleLine

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 NewDotLine(n int, ras, canv float64, randColor bool) *dotLine

func NewDotsWave

func NewDotsWave(dotsN int) *dotsWave

NewDotsWave returns a dotsWave object.

func NewGirdSquares

func NewGirdSquares(step, rectSize int, decay float64) *girdSquares

NewGirdSquares returns a grid squares generator.

func NewJanus

func NewJanus(n int, decay float64) *janus

NewJanus returns a janus object

func NewJulia

func NewJulia(formula GenFunc, maxz, xaixs, yaixs float64) *julia

func NewMaze

func NewMaze(step int) *maze

NewMaze returns a maze generator.

func NewNoiseLine

func NewNoiseLine(n int) *noiseLine

NewNoiseLine returns a noiseLine object.

func NewOceanFish

func NewOceanFish(lineNum, fishNum int) *oceanFish

NewOceanFish returns a oceanFish object.

func NewPerlinPerls

func NewPerlinPerls(circleN, dotsN, colorMin, colorMax int) *perlinPearls

func NewPixelHole

func NewPixelHole(dotN int) *pixelHole

NewPixelHole returns a pixelHole object.

func NewPointRibbon

func NewPointRibbon(r float64) *pointRibbon

NewPointRibbon returns a pointRibbon object.

func NewRandCicle

func NewRandCicle(mc, msp int, minStep, maxStep, minr, maxr float64, isRandColor bool) *randCircle

func NewRandomShape

func NewRandomShape(shapeNum int) *randomShape

func NewSilkSky

func NewSilkSky(circleNum int, sunRadius float64) *silkSky

NewSilkSky returns a silkSky object.

func NewSilkSmoke

func NewSilkSmoke(mc, msp int, minStep, maxStep, minRadius, maxRadius float64, isRandColor bool) *sileSmoke

func NewSolarFlare

func NewSolarFlare() *solarFlare

func NewSpiralSquare

func NewSpiralSquare(squareNum int, rectSide, decay float64, randColor bool) *spiralSquare

NewSpiralSquare returns a spiralSquare object.

func NewSwirl

func NewSwirl(a, b, c, d, xaixs, yaixs float64) *swirl

func NewYarn

func NewYarn(n int) *yarn

NewYarn returns a yarn object.

Types

type ColorMapping

type ColorMapping func(float64, float64, float64) color.RGBA

ColorMapping maps some parameters to color space.

type GenFunc

type GenFunc func(complex128) complex128

GenFunc defines a func type used by julia set.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL