11 lines
239 B
GDScript
11 lines
239 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):
|
|
rows["Output"]["output"] = sin(Time.get_ticks_msec() * rows["Length"].get("input",1))
|
|
pass
|