Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I finally plugged GPT-3 into @pastelapp to generate color palettes from text prompts, and it just does exactly what I hoped it might do.

I finally plugged GPT-3 into @pastelapp to generate color palettes from text prompts, and it just does exactly what I hoped it might do.

Scheduled Pinned Locked Moved Uncategorized
50 Posts 2 Posters 87 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

    As a proof of concept, it confirms that the Foundation Models can indeed be applied to any kind of silly little task, and it’s so easy to get structured, deterministic output from it using the new @-Generable macro. No JSON, no parsing, just perfectly formed structs as output

    stroughtonsmith@mastodon.socialS This user is from outside of this forum
    stroughtonsmith@mastodon.socialS This user is from outside of this forum
    stroughtonsmith@mastodon.social
    wrote on last edited by
    #23

    Even though the concept works, the performance is a little worrying. It takes an M1 iPad Air about 30 seconds to generate a handful of color palettes — which are just some hex codes with a name, nothing complex. Streaming the results in one by one becomes a necessity with those kinds of processing times

    stroughtonsmith@mastodon.socialS 1 Reply Last reply
    0
    • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

      Even though the concept works, the performance is a little worrying. It takes an M1 iPad Air about 30 seconds to generate a handful of color palettes — which are just some hex codes with a name, nothing complex. Streaming the results in one by one becomes a necessity with those kinds of processing times

      stroughtonsmith@mastodon.socialS This user is from outside of this forum
      stroughtonsmith@mastodon.socialS This user is from outside of this forum
      stroughtonsmith@mastodon.social
      wrote on last edited by
      #24

      Enabling streaming, you can see that the Foundation Models API is slow — I would say alarmingly slow — on M1 hardware. I'm not even sure what kind of optimization I might be able to do to speed this up, as it's seemingly purely on the token generation side 🤔

      It's going to take more than a little care and attention before you start sprinkling this all over your apps, that's for sure. Good to know

      #wwdc25

      stroughtonsmith@mastodon.socialS 1 Reply Last reply
      0
      • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

        Enabling streaming, you can see that the Foundation Models API is slow — I would say alarmingly slow — on M1 hardware. I'm not even sure what kind of optimization I might be able to do to speed this up, as it's seemingly purely on the token generation side 🤔

        It's going to take more than a little care and attention before you start sprinkling this all over your apps, that's for sure. Good to know

        #wwdc25

        stroughtonsmith@mastodon.socialS This user is from outside of this forum
        stroughtonsmith@mastodon.socialS This user is from outside of this forum
        stroughtonsmith@mastodon.social
        wrote on last edited by
        #25

        Initial bringup on macOS 26 for Pastel. There are some significant system-level performance regressions that I'm going to have to debug my way through — I've lost my 60fps window resizing, that's for sure 😐 Other than that, it was a modern app with a forward-thinking design language, and it fits Liquid Glass on iOS and macOS without much trouble

        Link Preview Image
        stroughtonsmith@mastodon.socialS 1 Reply Last reply
        0
        • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

          Initial bringup on macOS 26 for Pastel. There are some significant system-level performance regressions that I'm going to have to debug my way through — I've lost my 60fps window resizing, that's for sure 😐 Other than that, it was a modern app with a forward-thinking design language, and it fits Liquid Glass on iOS and macOS without much trouble

          Link Preview Image
          stroughtonsmith@mastodon.socialS This user is from outside of this forum
          stroughtonsmith@mastodon.socialS This user is from outside of this forum
          stroughtonsmith@mastodon.social
          wrote on last edited by
          #26

          Slowly iterating on the design language for Pastel and fixing all the weird little bugs the new SDK introduced. Only now is it functional again

          Link Preview Image
          stroughtonsmith@mastodon.socialS 1 Reply Last reply
          0
          • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

            Slowly iterating on the design language for Pastel and fixing all the weird little bugs the new SDK introduced. Only now is it functional again

            Link Preview Image
            stroughtonsmith@mastodon.socialS This user is from outside of this forum
            stroughtonsmith@mastodon.socialS This user is from outside of this forum
            stroughtonsmith@mastodon.social
            wrote on last edited by
            #27

            Not making a whole lot of forward progress with my apps right now, so I'm gonna get some lateral progress done. Pastel still has about 5,500 lines of Objective-C code remaining that is all ripe for translating to Swift via Xcode's new ChatGPT feature. It'll give me a chance to sanity-check some of my legacy code in the process

            stroughtonsmith@mastodon.socialS 1 Reply Last reply
            0
            • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

              Not making a whole lot of forward progress with my apps right now, so I'm gonna get some lateral progress done. Pastel still has about 5,500 lines of Objective-C code remaining that is all ripe for translating to Swift via Xcode's new ChatGPT feature. It'll give me a chance to sanity-check some of my legacy code in the process

              stroughtonsmith@mastodon.socialS This user is from outside of this forum
              stroughtonsmith@mastodon.socialS This user is from outside of this forum
              stroughtonsmith@mastodon.social
              wrote on last edited by
              #28

              Slightly reorganizing my copy menu while I'm at it, and scratching my chin at the menu glass effect 🤔

              Link Preview Image
              stroughtonsmith@mastodon.socialS 1 Reply Last reply
              0
              • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                Slightly reorganizing my copy menu while I'm at it, and scratching my chin at the menu glass effect 🤔

                Link Preview Image
                stroughtonsmith@mastodon.socialS This user is from outside of this forum
                stroughtonsmith@mastodon.socialS This user is from outside of this forum
                stroughtonsmith@mastodon.social
                wrote on last edited by
                #29

                Still a long way to go, but here's a before/after on Pastel on macOS 26 as of the current build.

                During development, you spend so much time looking at the new design that you kinda forget how it used to look

                Link Preview ImageLink Preview Image
                stroughtonsmith@mastodon.socialS 1 Reply Last reply
                0
                • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                  Still a long way to go, but here's a before/after on Pastel on macOS 26 as of the current build.

                  During development, you spend so much time looking at the new design that you kinda forget how it used to look

                  Link Preview ImageLink Preview Image
                  stroughtonsmith@mastodon.socialS This user is from outside of this forum
                  stroughtonsmith@mastodon.socialS This user is from outside of this forum
                  stroughtonsmith@mastodon.social
                  wrote on last edited by
                  #30

                  Pastel on iPad is going to look effectively indistinguishable from the Mac version by the time I'm finished updating it for Liquid Glass

                  Link Preview Image
                  stroughtonsmith@mastodon.socialS 1 Reply Last reply
                  0
                  • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                    Pastel on iPad is going to look effectively indistinguishable from the Mac version by the time I'm finished updating it for Liquid Glass

                    Link Preview Image
                    stroughtonsmith@mastodon.socialS This user is from outside of this forum
                    stroughtonsmith@mastodon.socialS This user is from outside of this forum
                    stroughtonsmith@mastodon.social
                    wrote on last edited by
                    #31

                    With today's work out of the way, I think Pastel's iOS 26 update is done for Mac and for iPhone. The iPad build is blocked by my earlier radar, and I haven't figured out a mitigation strategy yet, but we're nearly there

                    Link Preview Image
                    Steve Troughton-Smith (@stroughtonsmith@mastodon.social)

                    Attached: 1 image FB19905057 — Unrelated child UINavigationController overrides root split view controller's sidebar heirarchy and navigation bar on resize from regular to compact This one will prevent me from shipping Pastel on iOS 26 until I find a solution 🤷‍♂️ #radars

                    favicon

                    Mastodon (mastodon.social)

                    stroughtonsmith@mastodon.socialS 1 Reply Last reply
                    0
                    • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                      With today's work out of the way, I think Pastel's iOS 26 update is done for Mac and for iPhone. The iPad build is blocked by my earlier radar, and I haven't figured out a mitigation strategy yet, but we're nearly there

                      Link Preview Image
                      Steve Troughton-Smith (@stroughtonsmith@mastodon.social)

                      Attached: 1 image FB19905057 — Unrelated child UINavigationController overrides root split view controller's sidebar heirarchy and navigation bar on resize from regular to compact This one will prevent me from shipping Pastel on iOS 26 until I find a solution 🤷‍♂️ #radars

                      favicon

                      Mastodon (mastodon.social)

                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                      stroughtonsmith@mastodon.social
                      wrote on last edited by
                      #32

                      I've started the TestFlight process for Pastel for iOS and macOS 26. There are some known issues on iOS, including a severe hang, but most things are in place now, and there are still slots available 😄

                      Link Preview Image
                      TestFlight - Apple

                      Using TestFlight is a great way to help developers test beta versions of their apps.

                      favicon

                      (testflight.apple.com)

                      Link Preview Image
                      stroughtonsmith@mastodon.socialS 1 Reply Last reply
                      0
                      • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                        I've started the TestFlight process for Pastel for iOS and macOS 26. There are some known issues on iOS, including a severe hang, but most things are in place now, and there are still slots available 😄

                        Link Preview Image
                        TestFlight - Apple

                        Using TestFlight is a great way to help developers test beta versions of their apps.

                        favicon

                        (testflight.apple.com)

                        Link Preview Image
                        stroughtonsmith@mastodon.socialS This user is from outside of this forum
                        stroughtonsmith@mastodon.socialS This user is from outside of this forum
                        stroughtonsmith@mastodon.social
                        wrote on last edited by
                        #33

                        This *is* a nice API!

                        Link Preview Image
                        Steve Troughton-Smith (@stroughtonsmith@mastodon.social)

                        Attached: 1 image Nobody ever told me UIContentUnavailableConfiguration was so cute! I should use it more

                        favicon

                        Mastodon (mastodon.social)

                        Link Preview Image
                        stroughtonsmith@mastodon.socialS 1 Reply Last reply
                        0
                        • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                          This *is* a nice API!

                          Link Preview Image
                          Steve Troughton-Smith (@stroughtonsmith@mastodon.social)

                          Attached: 1 image Nobody ever told me UIContentUnavailableConfiguration was so cute! I should use it more

                          favicon

                          Mastodon (mastodon.social)

                          Link Preview Image
                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                          stroughtonsmith@mastodon.social
                          wrote on last edited by
                          #34

                          Today's build of @pastelapp fixes the last of my major issues, and achieves all the goals I set out for this iOS 26 update 😄 All in all, the update touched about 6000 lines of code, with zero new features, just to adopt the new UI

                          stroughtonsmith@mastodon.socialS 1 Reply Last reply
                          0
                          • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                            Today's build of @pastelapp fixes the last of my major issues, and achieves all the goals I set out for this iOS 26 update 😄 All in all, the update touched about 6000 lines of code, with zero new features, just to adopt the new UI

                            stroughtonsmith@mastodon.socialS This user is from outside of this forum
                            stroughtonsmith@mastodon.socialS This user is from outside of this forum
                            stroughtonsmith@mastodon.social
                            wrote on last edited by
                            #35

                            I think @pastelapp for iOS and macOS 26 is now 'visually complete' ahead of the September event, which means I have to start thinking about marketing screenshots. I'm very happy with how this turned out, even if it took a while to get there

                            Link Preview Image
                            stroughtonsmith@mastodon.socialS 1 Reply Last reply
                            0
                            • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                              I think @pastelapp for iOS and macOS 26 is now 'visually complete' ahead of the September event, which means I have to start thinking about marketing screenshots. I'm very happy with how this turned out, even if it took a while to get there

                              Link Preview Image
                              stroughtonsmith@mastodon.socialS This user is from outside of this forum
                              stroughtonsmith@mastodon.socialS This user is from outside of this forum
                              stroughtonsmith@mastodon.social
                              wrote on last edited by
                              #36

                              I don’t think I’ll ever get used to how good iPadOS 26 looks on an external display. If you have an M1 iPad or higher, I implore you to give it a try

                              Link Preview Image
                              stroughtonsmith@mastodon.socialS 1 Reply Last reply
                              0
                              • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                I don’t think I’ll ever get used to how good iPadOS 26 looks on an external display. If you have an M1 iPad or higher, I implore you to give it a try

                                Link Preview Image
                                stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                stroughtonsmith@mastodon.social
                                wrote on last edited by
                                #37

                                Giving Pastel a v2.4.1 today on macOS to update everything that looked blurry on a non-Retina display, as it's been a long time since I've given it a pass and some system metrics have changed lately that need round()ing. It's real hard to tell the difference from a JPEG, but here's a before/after

                                Link Preview ImageLink Preview Image
                                stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                0
                                • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                  Giving Pastel a v2.4.1 today on macOS to update everything that looked blurry on a non-Retina display, as it's been a long time since I've given it a pass and some system metrics have changed lately that need round()ing. It's real hard to tell the difference from a JPEG, but here's a before/after

                                  Link Preview ImageLink Preview Image
                                  stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                  stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                  stroughtonsmith@mastodon.social
                                  wrote on last edited by
                                  #38

                                  The next minor version of @pastelapp will support exporting color palettes to Pixelmator Pro (on the Mac, at least, as they don't support that on iOS)

                                  Update: now available!

                                  Link Preview Image
                                  Pastel App - App Store

                                  Download Pastel by Steven Troughton-Smith on the App Store. See screenshots, ratings and reviews, user tips, and more apps like Pastel.

                                  favicon

                                  App Store (apps.apple.com)

                                  stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                  0
                                  • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                    The next minor version of @pastelapp will support exporting color palettes to Pixelmator Pro (on the Mac, at least, as they don't support that on iOS)

                                    Update: now available!

                                    Link Preview Image
                                    Pastel App - App Store

                                    Download Pastel by Steven Troughton-Smith on the App Store. See screenshots, ratings and reviews, user tips, and more apps like Pastel.

                                    favicon

                                    App Store (apps.apple.com)

                                    stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                    stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                    stroughtonsmith@mastodon.social
                                    wrote on last edited by
                                    #39

                                    (Did I just spend the day reverse-engineering their proprietary color palette format? Yes.)

                                    stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                    0
                                    • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                      (Did I just spend the day reverse-engineering their proprietary color palette format? Yes.)

                                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                      stroughtonsmith@mastodon.social
                                      wrote on last edited by
                                      #40

                                      The next version of Pastel tackles a bunch of things, including revamped undo/redo support. I recently added pinch-zoom to the image importer, too. Paying attention to lots of little corners of the app that haven't seen love in a while — time for a polish pass now that Liquid Glass is no longer taking up all of my development time

                                      Link Preview Image
                                      stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                      0
                                      • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                        The next version of Pastel tackles a bunch of things, including revamped undo/redo support. I recently added pinch-zoom to the image importer, too. Paying attention to lots of little corners of the app that haven't seen love in a while — time for a polish pass now that Liquid Glass is no longer taking up all of my development time

                                        Link Preview Image
                                        stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                        stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                        stroughtonsmith@mastodon.social
                                        wrote on last edited by
                                        #41

                                        Venturing out into the Great Unknown, I have finally made the switch from single-purchase to subscriptions in @pastelapp, for new customers, after talking about it for years.

                                        I should have done it years ago, but the risk of the floor falling out from under me scared me off. Better late than never!

                                        I'm much better prepared to handle the initial financial shock today, and as I've migrated everything to StoreKit 2 I've been really impressed by how easy Apple has made it to implement subscriptions

                                        stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                        0
                                        • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                          Venturing out into the Great Unknown, I have finally made the switch from single-purchase to subscriptions in @pastelapp, for new customers, after talking about it for years.

                                          I should have done it years ago, but the risk of the floor falling out from under me scared me off. Better late than never!

                                          I'm much better prepared to handle the initial financial shock today, and as I've migrated everything to StoreKit 2 I've been really impressed by how easy Apple has made it to implement subscriptions

                                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                          stroughtonsmith@mastodon.social
                                          wrote on last edited by
                                          #42

                                          Why subscriptions? A one-time purchase revenue graph, even for a moderately successful app, looks like this. Yet work required only increases in complexity — Pastel has had 40 multiplatform updates since it launched in 2020, including two system UI redesigns, and a whole new OS (visionOS).

                                          One-time purchases just aren't sustainable, unless the product itself is also one-and-done — and that's just not possible on a moving target like Apple's OSes. Revenue can't be inversely proportional to time

                                          Link Preview Image
                                          stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups