×
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

Architecture in bloom
icon
Architecture in bloom
avatar
P
Pure_White
Elegant Poem Style
icon
Elegant Poem Style
avatar
A
avatar_frame
AI-KSK
image generator
icon
image generator
avatar
J
James hung
Chess Demon
icon
Chess Demon
avatar
人
人像大师
jkj
icon
jkj
avatar
G
Gilli
The space journey of pets
icon
The space journey of pets
avatar
Y
avatar_frame
YUXINN6362
Rebecca Core
icon
Rebecca Core
avatar
L
levi21.
Approaching Meme
icon
Approaching Meme
avatar
L
Lu
123
icon
123
avatar
W
avatar_frame
Wet Hose
Pixora
icon
Pixora
avatar
J
José Graterol#3Pvi44
lady gaga mayhem
icon
lady gaga mayhem
avatar
9
avatar_frame
93GSD5
Pet Formal Portrait
icon
Pet Formal Portrait
avatar
J
avatar_frame
JAY
E-commerce image local repair
icon
E-commerce image local repair
avatar
W
WorkflowCustomizati
Playful antics in a Japanese hot spring
icon
Playful antics in a Japanese hot spring
avatar
9
avatar_frame
93GSD5
Neo Dome
icon
Neo Dome
avatar
M
Megumin
Ethereal Barre
icon
Ethereal Barre
avatar
大
大凯智障君
Jack-o-You
icon
Jack-o-You
avatar
C
avatar_frame
Crimson Intellect Ai
Playing with the cubs(Animal version)
icon
Playing with the cubs(Animal version)
avatar
9
avatar_frame
93GSD5
Shake hands with any world celebrity
icon
Shake hands with any world celebrity
avatar
Y
avatar_frame
YUXINN6362
Video Test
icon
Video Test
avatar
S
SeaArt APP
HAILUO - Images To Video 10s
icon
HAILUO - Images To Video 10s
avatar
Y
avatar_frame
YUXINN6362
Play the Saxophone in an Orchestra
icon
Play the Saxophone in an Orchestra
avatar
I
IvoleGrey
Kling AI Video Generator
icon
Kling AI Video Generator
avatar
C
avatar_frame
ColinWine
VI 1.0  📌 DIY your virtual CD 🚩
icon
VI 1.0 📌 DIY your virtual CD 🚩
avatar
S
SoilSighStudio
Destroy your friend!
icon
Destroy your friend!
avatar
V
Varuzo
Dance under your name
icon
Dance under your name
avatar
I
Invincible
Ethereal Bloom
icon
Ethereal Bloom
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