This commit is contained in:
Lani Aung
2025-06-05 07:31:05 -07:00
parent ef5b289ff0
commit 8d1b7bfd4d
9 changed files with 113 additions and 226 deletions
+6 -2
View File
@@ -4,8 +4,12 @@ export default class SandPainter {
private color: number
private gain: number
constructor(state: State) {
this.color = state.getRandomColor()
constructor(color: number) {
this.color = color
this.gain = Math.random() / 10
}
render() {
}
}