
Python隐藏标志风景
A highly creative prompt formatted as a Python class to generate pareidolia-style landscapes where logos are hidden as negative space in the terrain.
观看773
点赞25
评论5
分享3
收藏22
引用0
翻译
2x2 网格,努力思考并找到有效的不同输入 a 和 b:class HiddenLogoLandscape:
def __init__(self, logo="{argument name="logo name" default="{Input A}"}", biome="{argument name="biome" default="{Input B}"}"):
self.logo = logo
self.biome = biome
self.scene = self.__infer__()
def __infer__(self):
s = Scene()
s.terrain = Terrain()
# 雕刻规则:主要标志形状是生物群系表面的负空间下降
s.terrain.negative_carve = self.logo.main_body
s.terrain.negative_altitude = -150 # 米下降
s.terrain.negative_texture = f"dark {self.biome.material} (阴影森林, void canyon)"
# 漂浮岛屿用于分离部分
s.terrain.floating_islands = [{
"shape": part,
"material": f"{self.biome.material} 漂浮陆地",
"altitude": +200,
"position": "悬浮在主要形状上方"
} for part in self.logo.detached_elements]
s.atmosphere = "旋转云, 雾, 上帝光背光"
s.pareidolia = "边缘由树木, 悬崖, 雪自然形成—无光滑矢量"
s .camera = "空中无人机, 1:1 框架, 高对比, 电影"
return s
def render(self):
return NationalGeographicAerial(self.scene)
exec(HiddenLogoLandscape().render())
机器翻译 — 实际生成作品的是原文提示词。











