Skip navigation
Simple SwiftUI shader to represent ideas in Dream Machine 🫧✨
0:00 / 0:57

Simple SwiftUI shader to represent ideas in Dream Machine 🫧✨

Theo Panagiotopoulos

@theopanag72.1K followers

Visit on X
775 likesDownloadOriginal post

73,105 views

Simple SwiftUI shader to represent ideas in Dream Machine 🫧✨

12 Comments

Comments from the original post on X (Twitter)

  • Theo Panagiotopoulos's profile picture

    @theopanag7

    We wanted this to be performant since we often show multiple instances at once + ability to apply over any content 👀

    17 likes

  • Theo Panagiotopoulos's profile picture

    @theopanag7

    SwiftUI shaders have a bunch of gotchas and can be a very bad perf decision if not careful, since you lose a lot of the optimizations you'd normally be able to do in Metal - like not shading pixels off-screen, not reevaluating when layer moves, etc. but they're oh so convenient 😅

    12 likes

  • Theo Panagiotopoulos's profile picture

    @theopanag7

    One trick we're using here to help sell the snow-globe effect in a single pass is flipping & blurring underlying image and letting color from the flipped image bleed through the edges 😊

    14 likes

  • Theo Panagiotopoulos's profile picture

    @theopanag7

    Some more examples:

    11 likes

  • ASTROMEDA - Wishlist on Steam!'s profile picture

    @astromeda_game

    A small teaser of Astromeda! It's a game inspired by Pokemon, Undertale, and OneShot. Wishlist on Steam! #TrailerTuesday #indiegame #IndieGameDev #GamingNews #Steam

    30,078 likes

  • Janum Trivedi's profile picture

    @jmtrivedi

    Really great work, this is super impressive :)

    6 likes

  • Theo Panagiotopoulos's profile picture

    @theopanag7

    🙇

    1 like

  • Donnie's profile picture

    @donnieDaCreator

    Gist please. 🙏🏼

    2 likes

  • Samarth Sinha's profile picture

    @_sam_sinha_

    Looks like cursor code

    2 likes

  • Marc's profile picture

    @mrousavy

    this looks incredible! nice work

    2 likes

  • Ben South's profile picture

    @bnj

    beautiful

    1 like

  • Theo Panagiotopoulos's profile picture

    @theopanag7

    🙇‍♂️