this_xor_that,

Day 4 is another variation of moiré. But most of the time was spent in the weeds with rust procedural macros.
Being able to explore the parameter space of generative art is one of the best parts, and I have this library I’ve been building that I use to control parameters with things like a midi controller (I use the same thing for live visuals). But I needed to basically copy all of my structs and sprinkle boilerplate code everywhere.
I spent some time yesterday night learning about rust procedural macros and getting something working. I celebrated by making a nicely centered moiré pattern.
It should save me a lot of code when I want to change a static thing to a live-configurable thing and I am very excited.

Probably,
@Probably@genart.social avatar

@this_xor_that That’s very cool! So basically you have a generic parameter tweaking device now with templating set up? I love it.

this_xor_that,

@Probably ya the generic parameter tweaking setup has been super nice! I’ve started writing all my projects around the configs (which means I also expose params I didn’t think would be interesting.. and then occasionally they turn out really interesting).
Besides the midi, I can also use audio or time or keyboard inputs. I use that for the audiovisual performances and it works nicely too.
And the proc-macro stuff cleaned up the code needed to set it up.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • genart
  • PowerRangers
  • hgfsjryuu7
  • InstantRegret
  • Youngstown
  • rosin
  • slotface
  • everett
  • mdbf
  • tacticalgear
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • Leos
  • vwfavf
  • cisconetworking
  • cubers
  • modclub
  • GTA5RPClips
  • khanakhh
  • Durango
  • osvaldo12
  • normalnudes
  • tester
  • ethstaker
  • anitta
  • provamag3
  • All magazines