static void
model_init_wobbly (Model *model)
{
- const int width = 4, height = 4;
+ const int width = 8, height = 8;
const int num_objects = width * height;
const int num_offset_springs = (width - 1) * height + width * (height - 1);
- const int distance = 20;
+ const int distance = 30;
double x, y;
int i, j, object_index, spring_index;
model->num_objects = num_objects;
model->offset_springs = g_new (OffsetSpring, num_offset_springs);
model->num_offset_springs = num_offset_springs;
- model->k = 6.5;
+ model->k = 4.5;
model_init_polygons (model);
{
Closure *closure = data;
- model_step (closure->model, 0.4);
+ model_step (closure->model, 0.2);
closure->i++;
if (closure->i == 1) {