Untitled

mail@pastecode.io avatar
unknown
plain_text
10 days ago
3.1 kB
1
Indexable
Never
from pptx import Presentation
from pptx.util import Inches

# Create a presentation object
prs = Presentation()

# Slide 1: Title Slide
slide_1 = prs.slides.add_slide(prs.slide_layouts[0])
title_1 = slide_1.shapes.title
subtitle_1 = slide_1.placeholders[1]
title_1.text = "Salvador Dalí: The Master of Surrealism"
subtitle_1.text = "A Journey Through His Life and Works\nYour Name\nDate"

# Slide 2: Personal History
slide_2 = prs.slides.add_slide(prs.slide_layouts[1])
title_2 = slide_2.shapes.title
content_2 = slide_2.placeholders[1]
title_2.text = "Early Life and Background"
content_2.text = (
    "• Born on May 11, 1904, in Figueres, Spain.\n"
    "• Full name: Salvador Domingo Felipe Jacinto Dalí i Domènech.\n"
    "• Attended the Royal Academy of Fine Arts of San Fernando in Madrid.\n"
    "• Influenced by Impressionism and Renaissance artists during his early years.\n"
    "• Developed an interest in Surrealism in the 1920s and became one of its most prominent figures."
)

# Slide 3: The Persistence of Memory (1931)
slide_3 = prs.slides.add_slide(prs.slide_layouts[1])
title_3 = slide_3.shapes.title
content_3 = slide_3.placeholders[1]
title_3.text = "The Persistence of Memory"
content_3.text = (
    "• One of Dalí's most famous works.\n"
    "• Features melting clocks in a dream-like landscape.\n"
    "• Represents the fluidity of time and the dream state.\n"
    "• Often interpreted as a meditation on the nature of time and reality."
)

# Slide 4: The Elephants (1948)
slide_4 = prs.slides.add_slide(prs.slide_layouts[1])
title_4 = slide_4.shapes.title
content_4 = slide_4.placeholders[1]
title_4.text = "The Elephants"
content_4.text = (
    "• Surrealist painting featuring elephants with long, spindly legs.\n"
    "• Symbolizes strength and fragility.\n"
    "• Inspired by Gian Lorenzo Bernini's sculpture in Rome.\n"
    "• Combines realistic elements with fantastical imagery."
)

# Slide 5: Galatea of the Spheres (1952)
slide_5 = prs.slides.add_slide(prs.slide_layouts[1])
title_5 = slide_5.shapes.title
content_5 = slide_5.placeholders[1]
title_5.text = "Galatea of the Spheres"
content_5.text = (
    "• Depicts his wife Gala in a fragmented, molecular form.\n"
    "• Combines classical portraiture with atomic theory concepts.\n"
    "• Reflects Dalí's interest in science and the atomic age.\n"
    "• Demonstrates his ability to blend scientific ideas with artistic expression."
)

# Slide 6: Lasting Impact
slide_6 = prs.slides.add_slide(prs.slide_layouts[1])
title_6 = slide_6.shapes.title
content_6 = slide_6.placeholders[1]
title_6.text = "Dalí's Legacy"
content_6.text = (
    "• Revolutionized the art world with his unique vision and techniques.\n"
    "• Influenced contemporary art, fashion, film, and literature.\n"
    "• The Dalí Theatre-Museum in Figueres attracts millions of visitors annually.\n"
    "• His works continue to be celebrated and studied for their innovative approach to surrealism and reality."
)

# Save the presentation
prs.save('/mnt/data/Salvador_Dali_Presentation.pptx')
'/mnt/data/Salvador_Dali_Presentation.pptx'
Leave a Comment