Skip to content
ImagesFree

-- Define the core data structures type LayerDepth = Float -- 0.0 (back) to 1.0 (front) type PaperTexture = (Grain, Thickness, Col

-- Define the core data structures type LayerDepth = Float -- 0.0 (back) to 1.0 (front) type PaperTexture = (Grain, Thickness, Col

OpenAI

Source previews

These example images come from the original source. DROPIDEA has not independently tested these examples; results depend on the model and settings.

Ready to personalize

Your prompt

Source text

Replace the red variables with your information. Copy the full prompt and use it with your preferred agent.

TXT MD English version
-- Define the core data structures type LayerDepth = Float -- 0.0 (back) to 1.0 (front) type PaperTexture = (Grain, Thickness, Color) type UI_Element = (Icon, Label, Position) -- The core generation function generatePaperDiorama :: CivilizationData -> GridConfig -> RenderSettings -> Image generatePaperDiorama civ grid settings = let -- 1. Extract architectural features from the civilization data landmarks = extractLandmarks civ terrain = extractTerrain civ -- 2. Create the depth map for the paper cut effect depthMap = createDepthMap [ Layer(0.0, background_sky), Layer(0.2, distant_mountains), Layer(0.4, mid_ground_structures), Layer(0.7, foreground_landmarks), Layer(0.9, ui_overlay_frame) ] -- 3. Apply "Paper Cut" rendering pipeline renderedScene = applyPaperPhysics ( lighting = WarmGoldenHour, shadowIntensity = HighContrast, material = TexturedCardstock ) depthMap -- 4. Compose the UI overlay (dynamic based on civ data) finalImage = composeUI renderedScene [ Title(civ. name, position=TopLeft), Legend(civ.landmarks, position=LeftSide), NavigationArrows(position=Bottom), LevelIndicator(position=BottomRight) ] in finalImage -- Execute: Generate 2x2 Grid renderGrid([ generatePaperDiorama(EgyptData, Grid(0,0), Settings), generatePaperDiorama(GreeceData, Grid(0,1), Settings), generatePaperDiorama(ChinaData, Grid(1,0), Settings), generatePaperDiorama(MesopotamiaData, Grid(1,1), Settings) ])
Preview results

Your prompt

-- Define the core data structures type LayerDepth = Float -- 0.0 (back) to 1.0 (front) type PaperTexture = (Grain, Thickness, Color) type UI_Element = (Icon, Label, Position) -- The core generation function generatePaperDiorama :: CivilizationData -> GridConfig -> RenderSettings -> Image generatePaperDiorama civ grid settings = let -- 1. Extract architectural features from the civilization data landmarks = extractLandmarks civ terrain = extractTerrain civ -- 2. Create the depth map for the paper cut effect depthMap = createDepthMap [ Layer(0.0, background_sky), Layer(0.2, distant_mountains), Layer(0.4, mid_ground_structures), Layer(0.7, foreground_landmarks), Layer(0.9, ui_overlay_frame) ] -- 3. Apply "Paper Cut" rendering pipeline renderedScene = applyPaperPhysics ( lighting = WarmGoldenHour, shadowIntensity = HighContrast, material = TexturedCardstock ) depthMap -- 4. Compose the UI overlay (dynamic based on civ data) finalImage = composeUI renderedScene [ Title(civ. name, position=TopLeft), Legend(civ.landmarks, position=LeftSide), NavigationArrows(position=Bottom), LevelIndicator(position=BottomRight) ] in finalImage -- Execute: Generate 2x2 Grid renderGrid([ generatePaperDiorama(EgyptData, Grid(0,0), Settings), generatePaperDiorama(GreeceData, Grid(0,1), Settings), generatePaperDiorama(ChinaData, Grid(1,0), Settings), generatePaperDiorama(MesopotamiaData, Grid(1,1), Settings) ])

Related prompts