mirror of
https://github.com/bspeice/speice.io
synced 2025-07-05 07:44:54 -04:00
Color render working
This commit is contained in:
@ -8,7 +8,7 @@ export type ChaosGameHistogramProps = ChaosGameFinalProps & {
|
||||
painter: (width: number, histogram: Uint32Array) => ImageData;
|
||||
}
|
||||
export function* chaosGameHistogram({width, height, transforms, final, quality, step, painter}: ChaosGameHistogramProps) {
|
||||
let iterations = (quality ?? 10) * width * height;
|
||||
let iterations = (quality ?? 1) * width * height;
|
||||
step = step ?? 100_000;
|
||||
|
||||
const histogram = new Uint32Array(width * height);
|
||||
|
Reference in New Issue
Block a user