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

    Starting to make preparations to branch @pastelapp to v3.0, so I can work on some larger changes coming down the pipe. I think that will include bumping the minimum OS version, which is currently macOS 11 & iOS 15. I will be dropping support for macOS 11 in this release, for certain, and maybe push even higher depending on timing and how development plays out. This is probably a 2024 update rather than for the iPhone launch this year

    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
    #14

    This is the time post-WWDC where I try to get all my projects building to a shippable state again with the new Xcode after working on experimental tangents and rabbit holes for months 😅 I think everything in my dev version of @pastelapp works again now, but I can't remember what I broke.

    I'm doing a pass at a bunch of little things, shuffling some bits around, updating iconography etc

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

      This is the time post-WWDC where I try to get all my projects building to a shippable state again with the new Xcode after working on experimental tangents and rabbit holes for months 😅 I think everything in my dev version of @pastelapp works again now, but I can't remember what I broke.

      I'm doing a pass at a bunch of little things, shuffling some bits around, updating iconography etc

      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
      #15

      There is no ‘iOS 17 update' for Pastel, as the new system features don't really touch upon anything in the app. Kinda gives me some space to think up new features to build as I work towards v3.0. The app is in a great place, I think, so I don't feel like there's any pressing need to dig in right now. Some of my other projects need the attention a lot more

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

        There is no ‘iOS 17 update' for Pastel, as the new system features don't really touch upon anything in the app. Kinda gives me some space to think up new features to build as I work towards v3.0. The app is in a great place, I think, so I don't feel like there's any pressing need to dig in right now. Some of my other projects need the attention a lot more

        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
        #16

        Making progress on @pastelapp today. I've walked back some of the more-complex changes I was making for visionOS, and taken a pass at rounding out all the sharp edges. There is still a lot to do, but I think it's turned a corner now

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

          Making progress on @pastelapp today. I've walked back some of the more-complex changes I was making for visionOS, and taken a pass at rounding out all the sharp edges. There is still a lot to do, but I think it's turned a corner now

          Link Preview ImageLink 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
          #17

          An awful lot of bringup for an existing iOS view controller on visionOS involves three things:

          • Change your background color
          • Round out your shapes/set your button configurations to the system rounded style
          • Add roundrect hover styles

          Here's a before/after on my wallpaper generator; just a handful of one-line changes

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

            An awful lot of bringup for an existing iOS view controller on visionOS involves three things:

            • Change your background color
            • Round out your shapes/set your button configurations to the system rounded style
            • Add roundrect hover styles

            Here's a before/after on my wallpaper generator; just a handful of one-line changes

            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
            #18

            TL;DR much of this stuff looks incredibly daunting when you first run your iOS app on visionOS, where everything has the wrong color and style, and feels like a mountain of work ahead of you. But actually, it's not as bad as it seems

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

              TL;DR much of this stuff looks incredibly daunting when you first run your iOS app on visionOS, where everything has the wrong color and style, and feels like a mountain of work ahead of you. But actually, it's not as bad as it seems

              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
              #19

              Here’s @pastelapp with a few more passes around the app. Honestly? I could probably publish this build without changing a whole lot else

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

                Here’s @pastelapp with a few more passes around the app. Honestly? I could probably publish this build without changing a whole lot else

                Link Preview ImageLink Preview ImageLink 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
                #20

                I built this palette-generation feature two years ago for @pastelapp, hoping that Apple would ship LLM APIs I could use instead of GPT-3. Womp womp.

                Here's hoping tomorrow brings some change here…

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

                Attached: 1 image 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. How I wish I could do this with an on-device Siri API call; I don't intend to ship with a dependency on OpenAI, so for now this is a 'maybe someday’ feature

                favicon

                Mastodon (mastodon.social)

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

                  I built this palette-generation feature two years ago for @pastelapp, hoping that Apple would ship LLM APIs I could use instead of GPT-3. Womp womp.

                  Here's hoping tomorrow brings some change here…

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

                  Attached: 1 image 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. How I wish I could do this with an on-device Siri API call; I don't intend to ship with a dependency on OpenAI, so for now this is a 'maybe someday’ feature

                  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
                  #21

                  Finally trying Apple's Foundation Models for palette generation, side by side with what I generated with ChatGPT.

                  The first image is the prompt "Planets of the Solar System" with Apple's on-device LLM, the second image is the same prompt using GPT-3.5 as of 2 years ago.

                  It can certainly do what I need it to do; whether the results are any good is an open question. I think it's inoffensive, and harmless, at the very least, so maybe I can move forward with it

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

                    Finally trying Apple's Foundation Models for palette generation, side by side with what I generated with ChatGPT.

                    The first image is the prompt "Planets of the Solar System" with Apple's on-device LLM, the second image is the same prompt using GPT-3.5 as of 2 years ago.

                    It can certainly do what I need it to do; whether the results are any good is an open question. I think it's inoffensive, and harmless, at the very least, so maybe I can move forward with it

                    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
                    #22

                    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 1 Reply Last reply
                    0
                    • 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
                                          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