This commit is contained in:
Lani Aung
2025-06-04 19:22:19 -07:00
parent 23e5e075cc
commit ef5b289ff0
5 changed files with 61 additions and 57 deletions
+11
View File
@@ -0,0 +1,11 @@
import State from "./state"
export default class SandPainter {
private color: number
private gain: number
constructor(state: State) {
this.color = state.getRandomColor()
this.gain = Math.random() / 10
}
}