12 lines
346 B
GDScript
12 lines
346 B
GDScript
extends TextureRect
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(_delta):
|
|
scale.x = ((Globals.fractal - Globals.fractal_min) / (Globals.fractal_max - Globals.fractal_min+0.00001))
|