banner_image ×
SeaArt AI Enterprise Version

# Importar lIbrerías necesarIas Import numpy as e.g. Import matplotlIb

# Importar lIbrerías necesarIas
Import numpy as e.g.
Import matplotlIb.pyplot as PLT

# Parámetros del SuperCubIt
sIze = 128  # Tamaño reducIdo para optImIzar vIsualIzacIón
depth = sIze // 2  # ProfundIdad máxIma de las pIrámIdes

# Crear una matrIz trIdImensIonal para representar el Cube y las pIrámIdes
Cube = e.g.. zeros ((sIze, sIze, sIze))

# Generar pIrámIdes en todas las caras del Cube
for I In range(sIze):
    for j In range(sIze):
        for k In range(sIze):
            heIght = mIn(I, j, k, sIze - I - 1, sIze - j - 1, sIze - k - 1, depth)
            Cube[I, j, k] = heIght  # AsIgnar valor según la profundIdad

# Crear una proyeccIón 2d del SuperCubIt (vIsta superIor)
projectIon = e.g..Max(Cube, axIs=2)  # Collapse on the Z axis

# --- GráfIca 2d optImIzada ---
PLT.fIgure(fIgsIze=(10, 10))
PLT.Imshow(projectIon,  cmap ="Inferno", InterpolatIon="nearest")
PLT.tItle("SuperCubIt - ProyeccIón CuántIca en 2d")
PLT.axIs("off")

# Guardar la Imagen generada
Image_Path_supercubIt_2d = "/ min /data/supercubIt_2d_optImIzado.png"
PLT.savefIg(Image_Path_supercubIt_2d, bbox_Inches='tIght', pad_Inches=0, dpI=300)
PLT.show()

# Devolver la ruta de la Imagen generada
Image_Path_supercubIt_2d
image
avatar
C
Carmen Lopez
Generation Info
Remix
Records
Prompts
# Importar lIbrerías necesarIas Import numpy as e . g . Import matplotlIb . pyplot as PLT # Parámetros del SuperCubIt sIze = 128 # Tamaño reducIdo para optImIzar vIsualIzacIón depth = sIze // 2 # ProfundIdad máxIma de las pIrámIdes # Crear una matrIz trIdImensIonal para representar el Cube y las pIrámIdes Cube = e . g .. zeros ((sIze , sIze , sIze)) # Generar pIrámIdes en todas las caras del Cube for I In range(sIze): for j In range(sIze): for k In range(sIze): heIght = mIn(I , j , k , sIze - I - 1 , sIze - j - 1 , sIze - k - 1 , depth) Cube[I , j , k] = heIght # AsIgnar valor según la profundIdad # Crear una proyeccIón 2d del SuperCubIt (vIsta superIor) projectIon = e . g .. Max(Cube , axIs=2) # Collapse on the Z axis # --- GráfIca 2d optImIzada --- PLT . fIgure(fIgsIze=(10 , 10)) PLT . Imshow(projectIon , cmap ="Inferno" , InterpolatIon="nearest") PLT . tItle("SuperCubIt - ProyeccIón CuántIca en 2d") PLT . axIs("off") # Guardar la Imagen generada Image_Path_supercubIt_2d = "/ min /data/supercubIt_2d_optImIzado . png" PLT . savefIg(Image_Path_supercubIt_2d , bbox_Inches='tIght' , pad_Inches=0 , dpI=300) PLT . show() # Devolver la ruta de la Imagen generada Image_Path_supercubIt_2d
Size
688X1024
Date
Mar 3, 2025
Mode
Studio
Type
cell
Checkpoint & LoRA
SeaArt Infinity
Checkpoint
SeaArt Infinity
0 comment
0
0
0
0/400

Promotion Zone

Your Anime War Boy
icon
Your Anime War Boy
avatar
M
Mea
The Japanese tea ceremony girl in the rice ball
icon
The Japanese tea ceremony girl in the rice ball
avatar
9
avatar_frame
93GSD5
Renovation plan to change the floor
icon
Renovation plan to change the floor
avatar
W
WorkflowCustomizati
Taurus Demon - Dark Souls
icon
Taurus Demon - Dark Souls
avatar
A
avatar_frame
Arcane
Terrible crime scene reconstruction
icon
Terrible crime scene reconstruction
avatar
9
avatar_frame
93GSD5
The Tiny Spiral Squatter
icon
The Tiny Spiral Squatter
avatar
洛
avatar_frame
洛希瓣酒徒
Foamshift Cute Creature
icon
Foamshift Cute Creature
avatar
A
avatar_frame
Arnav Parashar
Queen in the fairy tale
icon
Queen in the fairy tale
avatar
J
avatar_frame
JM32
Flux Duo
icon
Flux Duo
avatar
R
Roy Sparks
Anime Spider Girl
icon
Anime Spider Girl
avatar
O
orewapsi
Soul emitting
icon
Soul emitting
avatar
J
avatar_frame
JM32
Nahida
icon
Nahida
avatar
K
Kamiburo
gi
icon
gi
avatar
S
salam kassem
000
icon
000
avatar
W
wws0847
0000
icon
0000
avatar
T
tree022297
Image to video wan 2.2 fast generation
icon
Image to video wan 2.2 fast generation
avatar
M
avatar_frame
Mia x
Live Wallpaper
icon
Live Wallpaper
avatar
T
Tfeed
Live Wallpaper Generator - Wan 2.2 I2V A14B
icon
Live Wallpaper Generator - Wan 2.2 I2V A14B
avatar
N
NRDX
 Motion-Lora-Camera-Push
icon
Motion-Lora-Camera-Push
avatar
A
avatar_frame
Arcane
ClothSwap AI (experimental)
icon
ClothSwap AI (experimental)
avatar
C
avatar_frame
Crimson Intellect Ai
Burst open the crowd
icon
Burst open the crowd
avatar
9
avatar_frame
93GSD5
New Cutify
icon
New Cutify
avatar
A
avatar_frame
Arcane
Kung Fu Shoujo
icon
Kung Fu Shoujo
avatar
B
bingtanghulu
Snow Leopard Girl's Costume Dance
icon
Snow Leopard Girl's Costume Dance
avatar
B
bingtanghulu
Approached By A Monster (Monster Gacha)
icon
Approached By A Monster (Monster Gacha)
avatar
E
avatar_frame
Eric
Masterpiece Video - Merge Videos - Enhancer - Interpolate (16fps to 24fps)
icon
Masterpiece Video - Merge Videos - Enhancer - Interpolate (16fps to 24fps)
avatar
N
NLTYI
Turn Around 1
icon
Turn Around 1
avatar
H
hornyloser
 Extremely Slim Beauty
icon
Extremely Slim Beauty
avatar
成
avatar_frame
成语
The most powerful first and last frame image video wan2.2
icon
The most powerful first and last frame image video wan2.2
avatar
W
WorkflowCustomizati
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