スキップしてメイン コンテンツに移動

36個の球体 円周 ChatGPT 出力 Pythonコード







0.02 設定




import bpy
import math

# 球体の半径と等間隔に配置する球体の数
r = 1
n = 36

for i in range(n):
    # 角度を計算
    theta = 2*math.pi*i/n
    # 球座標を直交座標に変換
    x = r*math.cos(theta)
    y = r*math.sin(theta)
    z = 0
    # 球体を作成
    bpy.ops.mesh.primitive_uv_sphere_add(location=(x, y, z), radius=0.02)









togetter.com/t/c2022meetzionad
togetter.com/t/b2022meetzionad




twitter 新着検索 Dürer & 測距儀


aaa
bbb




ccc twitter zionadchat
twitter に追い出されたら 連絡先は Gettr https://gettr.com/user/zionadchat
twitter サブアカウント https://twitter.com/2022zionad

old page いいい
new page いいい

目次 2022の目次 単純トリック hatena zionadchat
いいいいいいいい