automated snapshot

This commit is contained in:
sumi
2025-12-27 19:57:18 -06:00
parent 5e7006c194
commit 67f3e58a1b
2 changed files with 13 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ package main
import (
"fmt"
"math"
rl "github.com/gen2brain/raylib-go/raylib"
"github.com/ojrac/opensimplex-go"
)
@@ -123,3 +124,9 @@ func (fl *FieldLayer) IsDirty() bool {
return fl.dirty
}
type SinXYField struct {}
func (f *SinXYField) Get(x, y float32) float32 {
return float32(math.Sin(float64(x * y)))
}