feat: fog weather & refactor: rain weather

This commit is contained in:
AncTe committed 2025-09-17 16:16:35 +08:00
1 parent 1b8624041b
commit df8328c33b
23 files changed
+296 -188

No files matched your search

+2 -2
View File
@@ -2,11 +2,11 @@ import {
Transform,
ERenderItemEvent,
RenderItem,
MotaOffscreenCanvas2D
MotaOffscreenCanvas2D,
CanvasStyle
} from '@motajs/render-core';
import { logger } from '@motajs/common';
import { clamp, isEqual, isNil } from 'lodash-es';
import { CanvasStyle } from './types';
export type CircleParams = [
cx?: number,
-1
View File
@@ -1,3 +1,2 @@
export * from './graphics';
export * from './misc';
export * from './types';
-6
View File
@@ -1,6 +0,0 @@
export type SizedCanvasImageSource = Exclude<
CanvasImageSource,
VideoFrame | SVGElement
>;
export type CanvasStyle = string | CanvasGradient | CanvasPattern;