diff --git a/Parameters_December24.md b/Parameters_December24.md new file mode 100644 index 0000000..7cb5439 --- /dev/null +++ b/Parameters_December24.md @@ -0,0 +1,12452 @@ +Created by **Nils Berglund** and optimized by **Marco Mancini** + +C code for videos on YouTube Channel https://www.youtube.com/c/NilsBerglund + +Below are parameter values used for different simulations, as well as initial conditions used in function animation. Some simulations use variants of the published code. The list is going to be updated gradually. + + +### 31 December 2024 - 3D representation of waves in an epicycloid with eight cusps ### + +**Program:** `wave_3d.c` + +**Initial condition in function `animation()`:** + +``` + init_wave_flat_mod(phi, psi, xy_in); + + /* add oscillating waves */ + for (source = 0; source < N_SOURCES; source++) + { + angle = ((double)source + 0.5)*DPI/(double)NPOLY + APOLY*PID + PID; + wave_source_x[source] = 1.0*LAMBDA*cos(angle); + wave_source_y[source] = 1.0*LAMBDA*sin(angle); + if ((ADD_OSCILLATING_SOURCE)&&(i%(OSCILLATING_SOURCE_PERIOD) == 1)&&(i