Part 22: The transformation from Canvas -> Layer using a protocol based result builder is complete and now I can... drum roll please… still run multiball. But now I know about usdrecord so it’s prettier!

https://www.whynotestflight.com/excuses/hello-usd-part-22-the-control-flow-is-a-lie./

#SwiftLang #ResultBuilder #ForLoopMafia #OpenUSD

Hello USD - Part 22: The Control Flow is a lie.

A list of distractions

Part 11: Wrote a Domain Specific Language... to write Domain Specific Languages! ha! An enum based tree and a Result Builder allowed me to write the attached code to produce the attached output.

playground ready code: https://gist.github.com/carlynorama/088fd2bb77cb9d4fabb0c55e50f780b5

process getting there: https://www.whynotestflight.com/excuses/hello-usd-part-11-gotta-make-it-easier-to-write-file-builders/

#SwiftLang, #DSL, #OpenUSD, #ResultBuilder, #Swift, #Enum, #DataStructures

Generic StringNode tree for constructing nested text in Swift, with Result Builder

Generic StringNode tree for constructing nested text in Swift, with Result Builder - StringNode.swift

Gist

Part 9: Okay, champion of the delaying tactic that I am… In order to understand USD I _have_ to make a Domain Specific Language for it? Riiight?? I used the attached code to make the attached image. The files it makes are still a bit of a puddle... but they do render.

https://www.whynotestflight.com/excuses/hello-usd-part-9-parlez-vous-multiball-dsl-starts-here/

#SwiftLang #Swift #GenerativeArt #CreativeCoding #OpenUSD #ResultBuilder #3D #DomainSpecificLanguage

Hello USD - Part 9: Parlez vous MultiBall? DSL starts here

A list of distractions