Brett May retweeted
YOU are going to make a piece of generative art right now in 10 minutes.
No watching tutorials, no downloading software. Just your browser and 21 lines of code.
By the end you’ll have a basic, but fun abstract generative art collection like this.
#generativeart
Brett May retweeted
Introducing SwiftUICraft — Minecraft, but made with pure SwiftUI. github.com/aheze/SwiftUICraf…
Brett May retweeted
Do you want a quick way to find and open your documents directory?
Add this line to .onAppear in your app entry Point.
print("Documents Directory", URL.documentsDirectory.path)
Puts the path on a separate line and easy to copy and right click to open service.
Accidentally renewed my Apple development membership under the wrong apple account this morning. @AppleSupport are refusing to refund me the $149.
I can return a $3000 laptop in 7 days, but not a $149 digital thing in 1 hour.
Tools
Replying to @suzytothec
@suzytothec Hi Suzy, just noticed that Nebula’s albums are mixed up with the other electronic band Nebula in @AppleMusic again. The Live in Mojave is under the electronic band, and the electronic album Mystic is under the Stoner bands albums.
Brett May retweeted
You can print object without escaping special characters with the print function or cast it as NSString.
#ios #iosdev
sarunw.com/posts/print-unesc…
Brett May retweeted
The fact is that so many of the rules coders follow are just dogma with no proof of anything.
But the simple thing is that adding friction to read simple code is just bad, no matter how hard the industry tries to convince you otherwise 😂
Brett May retweeted
The hardest part of having new folks join the team is removing the bad habits the industry has put on them.
small functions for the sake of it? no, inline the code.
too many classes, portocols...? no, simplify it.
constants for a number that is used in 1 place? no inline it
❤️
Brett May retweeted
Herald Sun staff have written a scathing piece slamming Melburnians for working from home, hysterically claiming the practice has turned Melbourne into a “ghost town” — however, the article was likely written at home, as Herald Sun staff also work from home. #auspol
Bought a new home pod mini so I could stereo pair with my previous one. Worked for 3 minutes then they auto updated to iOS 15.5.1, now they no longer work unless I unpair them. Even then they are flakey.
Am mad AND disappointed Apple
Plugged the old one into the MacBook to do a factory reset, can’t connect to server (-39).
Think I’ll go with speakers that don’t need software updates next time.
Brett May retweeted
Our new website is online 🎉
lightbeamapps.com
Take a look and find out about Lightbeam Apps for iPhone and iPad ✨
To get a better understanding of Ray Marching and Sphere tracing I first worked it our in 2D using SwiftUI before moving to 3D with Metal Shading Language.
#RayMarching #SwiftUI
I think it is important to show progress when coding, particularly the failures. To get the previous image I tweeted, I had to go through quite a bit of bug fixing and some rewriting.
#RayMarching
Got my iOS Ray Marching Shader (MSL) working late last night. So far only spheres and diffuse lighting, lots more to come. Not quite sure why the horizon rises up to meet the orange sphere though🤔
Is using a SwiftUI wrapper to display
#RayMarching #SwiftUI



















