MCPcopy Create free account
hub / github.com/fogleman/primitive / Worker

Struct Worker

primitive/worker.go:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type Worker struct {
12 W, H int
13 Target *image.RGBA
14 Current *image.RGBA
15 Buffer *image.RGBA
16 Rasterizer *raster.Rasterizer
17 Lines []Scanline
18 Heatmap *Heatmap
19 Rnd *rand.Rand
20 Score float64
21 Counter int
22}
23
24func NewWorker(target *image.RGBA) *Worker {
25 w := target.Bounds().Size().X

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected