-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprism.scene
36 lines (36 loc) · 1.01 KB
/
prism.scene
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Scene(
objects: [
(
// color: Srgba((red:-1.0,green:-1.0,blue:-1.0,alpha:1.0)),
particles: "prismpanel.pts",
unfix: true,
// lightness_multiplier: 15.0,
// lightness_power: 3.0,
),
(
color: Srgba((red:0.1,green:0.1,blue:0.1,alpha:1.0)),
particles: "largeball.pts",
position: (0.0, 40.0, 15.0),
velocity: (0.0, 1.0, -1.0),
mass: inf,
),
],
constants: (
// background_color: Srgba((red:0.1,green:0.1,blue:0.1,alpha:1.0)),
ambient_only: true,
dt: 0.016,
substeps: 20,
breaking_model: Distance(
max: 1.0001,
),
// breaking_model: Stress(
// normal: 2e-4,
// shear: 4e-4,
// young_modulus: 1e4,
// shear_modulus: 4e3,
// ),
camera_position: (0.0, 0.0, 70.0),
// collision_step: Factor(1.0),
grid_size: (80, 80, 20),
),
)