Skip to content

Commit

Permalink
Add.
Browse files Browse the repository at this point in the history
  • Loading branch information
niplav committed Oct 29, 2024
1 parent 0107212 commit d393577
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
16 changes: 9 additions & 7 deletions anim/diamond/diamond.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def construct(self):
arrow = Arrow3D(
start=corner,
end=end_point,
color=YELLOW,
thickness=0.02
color=WHITE,
thickness=0.015
)
arrows_to_center.add(arrow)

Expand Down Expand Up @@ -231,17 +231,19 @@ def construct(self):
arrow = Arrow3D(
start=start_point,
end=end_point,
color=GREEN,
color=WHITE,
thickness=0.01,
)
face_arrows.add(arrow)

self.play(
Create(face_center_dot),
*[Create(arrow) for arrow in face_arrows],
run_time=1
run_time=1.33
)

self.wait(1)

# Define edges and their midpoints
edges = [
([1, 3], [-2, 0, 2], [[0, 0, 2], [-2, 0, 0]]),
Expand Down Expand Up @@ -285,7 +287,7 @@ def construct(self):
arrow = Arrow3D(
start=start_point,
end=end_point,
color=BLUE_E,
color=WHITE,
thickness=0.005,
)
edge_arrows.add(arrow)
Expand All @@ -300,15 +302,15 @@ def construct(self):
arrow = Arrow3D(
start=start_point,
end=end_point,
color=BLUE_E,
color=WHITE,
thickness=0.005,
)
edge_arrows.add(arrow)

self.play(
Create(edge_center_dot),
*[Create(arrow) for arrow in edge_arrows],
run_time=0.75
run_time=1.25
)

self.wait(3)
2 changes: 2 additions & 0 deletions data/meditations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2609,3 +2609,5 @@ _id,meditation_start,meditation_end,meditation_duration,mindfulness_rating,conce
3105,2024-10-27T10:33:01+01:00,2024-10-27T11:13:33+01:00,2432,1,0.4,just sitting
3106,2024-10-27T23:23:49+01:00,2024-10-27T23:54:21+01:00,1832,1.6,1.2,just sitting and noting
3107,2024-10-28T09:51:36+01:00,2024-10-28T10:22:08+01:00,1832,0.9,0.3,just sitting
3108,2024-10-29T00:36:31+01:00,2024-10-29T01:07:03+01:00,1832,0.8,0.5,just sitting
3109,2024-10-29T11:07:28+01:00,2024-10-29T11:37:15+01:00,1800,0.8,0.3,just sitting
1 change: 1 addition & 0 deletions data/mental.csv
Original file line number Diff line number Diff line change
Expand Up @@ -400,3 +400,4 @@
2024-10-25T22:00:00+02:00,0.36,0.4,0.35
2024-10-26T22:01:48+02:00,0.21,0.2,0.37
2024-10-27T22:00:00+01:00,0.1,0.25,0.39
2024-10-28T22:00:00+01:00,0.3,0.24,0.31
3 changes: 3 additions & 0 deletions data/substances.csv
Original file line number Diff line number Diff line change
Expand Up @@ -601,3 +601,6 @@ datetime,substance,amount,experiment,id,prediction
2024-10-26T13:00:09+02:00,creatine,3g,,,
2024-10-27T01:16:38+02:00,melatonin,0.4mg,,,
2024-10-27T23:55:32+01:00,melatonin,0.5mg,,,
2024-10-28T08:30:18+02:00,vitamind3,25μg,C,15,0.62
2024-10-28T23:51:40+01:00,melatonin,0.375mg,,,
2024-10-29T09:53:59+01:00,vitamind3,25μg,C,16,0.3
Binary file added vid/diamond/long_diamond.mp4
Binary file not shown.
Binary file added vid/diamond/long_diamond_white.mp4
Binary file not shown.

0 comments on commit d393577

Please sign in to comment.