ミンコフスキー時空図 型 座標空間内を異なる速度で動く 球体 blenderzionad 2023 03 13 14h16 54 https://youtu.be/mfC--kHVvsE
import math
import bpy
# 1つ目の球体を作成
bpy.ops.mesh.primitive_uv_sphere_add(radius=0.3, location=(0, 0, 0))
sphere1 = bpy.context.object
# 2つ目の球体を作成
bpy.ops.mesh.primitive_uv_sphere_add(radius=0.3, location=(0, 0, 0))
sphere2 = bpy.context.object
# 3つ目の球体を作成
bpy.ops.mesh.primitive_uv_sphere_add(radius=0.3, location=(0, 0, 0))
sphere3 = bpy.context.object
# 移動アニメーションを作成
anim_data1 = sphere1.animation_data_create()
anim_data2 = sphere2.animation_data_create()
anim_data3 = sphere3.animation_data_create()
anim_data1.action = bpy.data.actions.new(name="sphere_anim1")
anim_data2.action = bpy.data.actions.new(name="sphere_anim2")
anim_data3.action = bpy.data.actions.new(name="sphere_anim3")
# 移動のキーフレームを設定
loc1_start = (0, 0, 0)
loc1_middle = (10, 0, 0)
loc1_end = (0, 10, 0)
sphere1.location = loc1_start
sphere1.keyframe_insert(data_path="location", frame=1)
sphere1.location = loc1_middle
sphere1.keyframe_insert(data_path="location", frame=121)
sphere1.location = loc1_end
sphere1.keyframe_insert(data_path="location", frame=241)
loc2_start = (0, 0, 0)
loc2_middle = (-10, 0, 0)
loc2_end = (0, 10, 0)
sphere2.location = loc2_start
sphere2.keyframe_insert(data_path="location", frame=1)
sphere2.location = loc2_middle
sphere2.keyframe_insert(data_path="location", frame=121)
sphere2.location = loc2_end
sphere2.keyframe_insert(data_path="location", frame=241)
loc3_start = (0, 0, 0)
loc3_middle = (0, 0, 0)
loc3_end = (0, 10, 0)
sphere3.location = loc3_start
sphere3.keyframe_insert(data_path="location", frame=1)
sphere3.location = loc3_middle
sphere3.keyframe_insert(data_path="location", frame=121)
sphere3.location = loc3_end
sphere3.keyframe_insert(data_path="location", frame=241)
# 繰り返すアニメーションを作成
anim_data1.action.frame_range = (1, 480)
anim_data2.action.frame_range = (1, 480)
anim_data3.action.frame_range = (1, 480)
anim_data1.action.repeat = True
anim_data2.action.repeat = True
anim_data3.action.repeat = True
anim_data1.action.extrapolation = 'LINEAR'
anim_data2.action.extrapolation = 'LINEAR'
anim_data3.action.extrapolation = 'LINEAR'
bbb
togetter.com/t/c2022meetzionad
togetter.com/t/b2022meetzionad
twitter 新着検索 Dürer & 測距儀
aaa
bbb
twitter zionadchat
twitter に追い出されたら 連絡先は Gettr https://gettr.com/user/zionadchat
twitter サブアカウント https://twitter.com/2022zionad
old page いいい
new page いいい
目次 2022の目次 単純トリック hatena zionadchat
いいいいいいいい