×
SeaArt AI Entreprise

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
Infos de création
Essayer
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
Taille
2048X2048
Date
Jul 5, 2023
Mode
Par Défaut
Type
upscale
Checkpoint & LoRA
Checkpoint
ReV Animated
0 commentaire(s)
0
0
0
0/400

Zone de Promos

Squelette Robot Femme de Chambre
icon
Squelette Robot Femme de Chambre
avatar
A
avatar_frame
Arnav Parashar
STYLE GPTCLAY
icon
STYLE GPTCLAY
avatar
0
001
Trop mignon
icon
Trop mignon
avatar
X
avatar_frame
xianzhu
nul
icon
nul
avatar
C
CAI
Guilty Gear -Strive-(3D) style
icon
Guilty Gear -Strive-(3D) style
avatar
0
001
test
icon
test
avatar
R
rengar furry
Passer au style cousu main
icon
Passer au style cousu main
avatar
青
avatar_frame
青苹果
Magie de Hogwards | Sorciers de papier
icon
Magie de Hogwards | Sorciers de papier
avatar
A
avatar_frame
Arnav Parashar
Tous les regards sont tournés vers
icon
Tous les regards sont tournés vers
avatar
浓
avatar_frame
浓郁
Style Makoto Shinkai
icon
Style Makoto Shinkai
avatar
K
avatar_frame
Kaia
Illustration de style à faible polygone
icon
Illustration de style à faible polygone
avatar
K
avatar_frame
Kaia
beauté irréelle
icon
beauté irréelle
avatar
K
Kura Le
i2i | Scènes de fantaisie inspirées du rococo
icon
i2i | Scènes de fantaisie inspirées du rococo
avatar
L
levi21.
style de Spyro le dragon
icon
style de Spyro le dragon
avatar
0
001
Voler des pastèques à la ferme
icon
Voler des pastèques à la ferme
avatar
人
人像大师
Effets de dissolution acide
icon
Effets de dissolution acide
avatar
洛
avatar_frame
洛希瓣酒徒
VI 1.0  📌  Cry on my shoulder 🚩
icon
VI 1.0 📌 Cry on my shoulder 🚩
avatar
S
SoilSighStudio
WAN2.2 I2V 2Action + boucle
icon
WAN2.2 I2V 2Action + boucle
avatar
S
spgx 14
générateur vidéo kling ai
icon
générateur vidéo kling ai
avatar
C
avatar_frame
ColinWine
【Top 1】Mettez le costume
icon
【Top 1】Mettez le costume
avatar
青
avatar_frame
青苹果
La nourriture s'enfuit
icon
La nourriture s'enfuit
avatar
B
avatar_frame
bingtanghulu
yeux dans
icon
yeux dans
avatar
S
avatar_frame
shililili
Costume Ethnique de Kirin et Miao
icon
Costume Ethnique de Kirin et Miao
avatar
L
avatar_frame
LeThAiVN
Nuage de coton
icon
Nuage de coton
avatar
A
avatar_frame
Arcane
La Vague de l'Équilibre
icon
La Vague de l'Équilibre
avatar
大
大凯智障君
Explorateur de la région extrêmement froide
icon
Explorateur de la région extrêmement froide
avatar
Y
avatar_frame
YUXINN6362
Voir plus 

Suggestions

ControlNet
logo
Français
Applications
Générer l'image Compagnons AI IA Swift Entraînement de modèle Canvas Outil Rapide Flux de Travail
À Propos
Studio Classement AI Chat Blog AI Actualités AI
Aide
Tutoriel Service clientèle
Obtenir l'Application
icon
Download on the
APP Store
icon
GET IT ON
Google Play
Suivez-Nous
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Conditions d'utilisation
Politique de confidentialité 特定商取引法 資金決済法に基づく表示
Plus