Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Mar 22, 2024
1 parent 7c188ee commit 72f8de0
Show file tree
Hide file tree
Showing 2 changed files with 3,683 additions and 2,925 deletions.
13 changes: 11 additions & 2 deletions chladni-patterns/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,20 @@ <h3 id="mathematical-model">Mathematical model</h3>
var size = 1;
var s = isosurface((x, y, z) => myFunc(x, y, z),
[-size, size], [-size, size], [-size, size],
{ material: 'normal' });
{
material: 'normal',
group: 'main',
rotation: { axis: [0,0,1], angle: 0.001 }
});

var data = [s];

var config = { type: 'threejs', frame: false, viewpoint: [1, -1, 0.5], animate: true };
var config = {
type: 'threejs',
frame: false,
viewpoint: [1, -1, 0.5],
animate: true
};

evaluate(id, data, config);

Expand Down
Loading

0 comments on commit 72f8de0

Please sign in to comment.