×
SeaArt AI Enterprise Version

A close up of a camera lens with a circular design

import numpy as np
import matplotlib.pyplot as plt 
from mpl_toolkits.mplot3d import Axes3D  
# 参数设置
n = 1
pi = np.pi  
# 时空坐标计算
def spacetime_coordinates(t):
    r = n / pi * t
    x = r * np.cos(t) * np.cos(t)
    y = r * np.sin(t) * np.cos(t)
    z = r * np.sin(t)
    w = r
    return x, y, z, w
  # 量子场与概率 
def quantum_field(t, m):
    u_n_minus_1 = 0
  # 假设u_n-1为0,可根据实际情况修改
    u = u_n_minus_1 + np.sin(t + m)
    return u
  # 概率分布 
def probability_distribution():
    m_values = [0, 1 / 2 * pi, pi, 3 / 2 * pi]
    probabilities = [0.125, 0.125, 0.125, 0.125, 0.5]
    m = np.random.choice(m_values + [0], p=probabilities)
    return m
  # 计算时空坐标和量子场值
    t_values = np.linspace(0, 2 * pi, 100)
    coordinates = [spacetime_coordinates(t) for t in t_values]
    quantum_fields = [quantum_field(t, probability_distribution()) for t in t_values]
  # 绘制3D曲面 def plot_3d_surface(w_value):
    fig = plt.figure()
    ax = fig.add_subplot(111, projection='3d')
    x_values = []
    y_values = []
    z_values = []
    u_values = []
    for coord, field in zip(coordinates, quantum_fields):
             x, y, z, w = coord
    if w == w_value:
             x_values.append(x)
             y_values.append(y)
             z_values.append(z)
             u_values.append(field)
             ax.scatter(x_values, y_values, z_values, c=u_values, cmap='viridis')
             ax.set_xlabel('X')
             ax.set_ylabel('Y')
             ax.set_zlabel('Z')
             ax.set_title(f'3D Surface for w = {w_value}')
             plt.show()
             plot_3d_surface(1)
             plot_3d_surface(100)
             input("Press any key to exit") --auto
image
avatar
P
pang ping
Generation Info
Remix
Prompts
import numpy as np import matplotlib . pyplot as plt from mpl_toolkits . mplot3d import Axes3D # 参数设置 n = 1 pi = np . pi # 时空坐标计算 def spacetime_coordinates(t): r = n / pi * t x = r * np . cos(t) * np . cos(t) y = r * np . sin(t) * np . cos(t) z = r * np . sin(t) w = r return x , y , z , w # 量子场与概率 def quantum_field(t , m): u_n_minus_1 = 0 # 假设u_n-1为0 , 可根据实际情况修改 u = u_n_minus_1 + np . sin(t + m) return u # 概率分布 def probability_distribution(): m_values = [0 , 1 / 2 * pi , pi , 3 / 2 * pi] probabilities = [0 . 125 , 0 . 125 , 0 . 125 , 0 . 125 , 0 . 5] m = np . random . choice(m_values + [0] , p=probabilities) return m # 计算时空坐标和量子场值 t_values = np . linspace(0 , 2 * pi , 100) coordinates = [spacetime_coordinates(t) for t in t_values] quantum_fields = [quantum_field(t , probability_distribution()) for t in t_values] # 绘制3D曲面 def plot_3d_surface(w_value): fig = plt . figure() ax = fig . add_subplot(111 , projection='3d') x_values = [] y_values = [] z_values = [] u_values = [] for coord , field in zip(coordinates , quantum_fields): x , y , z , w = coord if w == w_value: x_values . append(x) y_values . append(y) z_values . append(z) u_values . append(field) ax . scatter(x_values , y_values , z_values , c=u_values , cmap='viridis') ax . set_xlabel('X') ax . set_ylabel('Y') ax . set_zlabel('Z') ax . set_title(f'3D Surface for w = {w_value}') plt . show() plot_3d_surface(1) plot_3d_surface(100) input("Press any key to exit") --auto
Size
2048X2048
Date
Jul 5, 2023
Mode
Default
Type
upscale
Checkpoint & LoRA
Checkpoint
ReV Animated
0 comment
0
0
0
0/400

Promotion Zone

geometrization
icon
geometrization
avatar
M
avatar_frame
move - Shi
Instruments on Cloud 9
icon
Instruments on Cloud 9
avatar
L
levi21.
【Cosplay】 MechaMuse: RAYNOVA
icon
【Cosplay】 MechaMuse: RAYNOVA
avatar
J
avatar_frame
Jay Huang
Uno uno uno
icon
Uno uno uno
avatar
A
avatar_frame
Alejo
Remilia Scarlet
icon
Remilia Scarlet
avatar
K
Kamiburo
a
icon
a
avatar
ソ
ソラ
One-click generate your robot girlfriend
icon
One-click generate your robot girlfriend
avatar
鸟
鸟生鱼汤
Your Own Currency
icon
Your Own Currency
avatar
J
avatar_frame
Jensen
Microscopic Photography
icon
Microscopic Photography
avatar
洛
avatar_frame
洛希瓣酒徒
PixelMind
icon
PixelMind
avatar
H
hasa hasa
Berry Patch Girl
icon
Berry Patch Girl
avatar
V
Vegeta
Ancient Druid
icon
Ancient Druid
avatar
A
Arcx Forge
Become an enigmatic silhouette of a man
icon
Become an enigmatic silhouette of a man
avatar
A
avatar_frame
Arnav Parashar
Put on  British police uniform
icon
Put on British police uniform
avatar
洛
avatar_frame
洛希瓣酒徒
Create video with WAN
icon
Create video with WAN
avatar
S
avatar_frame
som1000
Being tickled
icon
Being tickled
avatar
A
avatar_frame
AI-KSK
Clonal division-copy
icon
Clonal division-copy
avatar
指
avatar_frame
指鹿AI
Handshake, Photo to Video
icon
Handshake, Photo to Video
avatar
P
Puro Arte
One-click fluffy
icon
One-click fluffy
avatar
S
avatar_frame
shililili
flying a sword
icon
flying a sword
avatar
R
avatar_frame
RuPaaaaaa
Forest Climber AI
icon
Forest Climber AI
avatar
大
大凯智障君
Fighting twins(video)
icon
Fighting twins(video)
avatar
人
人像大师
Arcane Style
icon
Arcane Style
avatar
A
avatar_frame
Arcane
CREATE BEAUTIFUL COSTUMES VIDEO
icon
CREATE BEAUTIFUL COSTUMES VIDEO
avatar
L
Lãng Tử
axxx5
icon
axxx5
avatar
陳
陳天兵
View More 

Explore Related

ControlNet
logo
English
Application
Create Image AI Characters Swift AI Model Training Canvas AI Apps Workflow
About
Studio Rankings AI Chat AI Blog AI News
Help
Guides Customer Service
Get App
icon
Download on the
APP Store
icon
GET IT ON
Google Play
Follow Us
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Terms
Privacy 特定商取引法 資金決済法に基づく表示
More