Skip to content

Commit

Permalink
tweak initial values
Browse files Browse the repository at this point in the history
  • Loading branch information
20akshay00 authored and Ivorforce committed Oct 29, 2024
1 parent c56a977 commit 5283ca9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
6 changes: 3 additions & 3 deletions demo/demos/kuramoto_model/kuramoto_model.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ extends Node2D

@export_category("Simulation parameters")
@export var N: int = 1000
@export var coupling: float = 3
@export var frequency_sigma: float = 2
@export var frequency_mean: float = 0.
@export var coupling: float = 1
@export var frequency_sigma: float = 0.2
@export var frequency_mean: float = 2.

@export var dt: float = 1./60 # 60 fps
@export var sub_steps: int = 1
Expand Down
19 changes: 11 additions & 8 deletions demo/demos/kuramoto_model/main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ text = "Fireflies: 100
unique_name_in_owner = true
layout_mode = 2
min_value = 10.0
max_value = 20000.0
max_value = 30000.0
step = 100.0
value = 110.0

Expand All @@ -93,26 +93,28 @@ value = 1.0
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "Frequency mean: 0."
text = "Frequency mean: 2."

[node name="MeanSlider" type="HSlider" parent="SliderOptions"]
unique_name_in_owner = true
layout_mode = 2
min_value = 2.0
max_value = 6.28
step = 0.1
value = 2.0

[node name="StdLabel" type="Label" parent="SliderOptions"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "Frequency std: 2."
text = "Frequency std: 0.5"

[node name="StdSlider" type="HSlider" parent="SliderOptions"]
unique_name_in_owner = true
layout_mode = 2
max_value = 5.0
step = 0.1
value = 2.0
value = 0.5

[node name="Options" type="VBoxContainer" parent="."]
offset_left = 862.0
Expand Down Expand Up @@ -140,6 +142,7 @@ popup/item_1/text = "RK4 scheme"
popup/item_1/id = 1

[node name="SolverOptions" type="VBoxContainer" parent="."]
visible = false
custom_minimum_size = Vector2(200, 0)
offset_left = 928.0
offset_top = 565.0
Expand All @@ -161,10 +164,10 @@ max_value = 200.0
value = 1.0

[node name="RestartButton" type="Button" parent="."]
offset_left = 991.0
offset_top = 495.0
offset_right = 1104.0
offset_bottom = 545.0
offset_left = 1023.0
offset_top = 582.0
offset_right = 1136.0
offset_bottom = 632.0
theme_override_font_sizes/font_size = 30
text = "Restart
"
Expand Down

0 comments on commit 5283ca9

Please sign in to comment.