Give-LIFE-Cybers/Scripts/GL_Sine.gd
2025-04-07 04:47:11 -06:00

12 lines
262 B
GDScript

extends GL_Node
func _ready():
_set_title("Sine")
_create_row("Output",null,0.0)
_create_row("Length",1.0,null)
pass
func _process(delta):
super._process(delta)
rows["Output"]["output"] = sin(Time.get_ticks_msec() * rows["Length"].get("input",1))
pass