Friday, December 31, 2021

santa baby, virtual antibody puppets in p5

 My friend Sophie likes making music videos, lately in the context of the pandemic: Everything's Closed, Two Darn Shots, and most recently with a Christmas theme, Antibodies (to the tune of "Santa Baby"):

Early on I was helping her punch up the lyrics and the script direction was 

Chorus of ten little antibodies singing “Jingle Bell Rock” on a neutral syllable so sweetly.  With a background that might be inside a human body?

I came up with a virtual puppet prototype - use the mouse to swing 'em back and forth, and either click or press space to have them open up their mouths.


I liked the idea of a synchronized choir like that! Her collaborator/puppeteer Alex had enough greenscreen mojo to create a similar effect for the final video, but using the same puppets (which admittedly was a better style match, though Sophie would have been ok with the switch of style for the "inside view")

Anyway, it's so gratifying to be able to throw something like that together in like 30-90 minutes! 

If Sophie had gone this route I would have looked for ways to make things a little less in lockstep, like a little bit of random delay before mouths opened/shut and some tweaks to the angles, so it looked a bit less mechanical. Also I might have replaced the background I stole from some google search with something more illustrated looking, maybe moving - maybe the effect I had with blurble...


Thursday, December 23, 2021

Monday, December 20, 2021

css 2021

The State of CSS 2021 - conclusions are here, the summary from the newsletter "Frontend Focus" said:

  • When it comes to frameworks, Tailwind CSS usage is up 13% year-on-year, but Bootstrap still takes the top spot.
  • 46% of respondents detailed how they actively use Firefox for development.
  • Over 80% of respondents have now used CSS Grid.
  • A near 99%(!) of those filling out the survey have used Flexbox.
  • Curiously, nearly 50% of respondents are said to be 'happily using one or more CSS-in-JS library'.
  • Details on rise of CSS Custom Properties, and much, much more — this is all well worth digging into.
I get Frontend Focus sent to me as a newsletter, it's usually worth skimming through at least

Thursday, December 16, 2021

a deep dive into very clever and very evil hacking

A deep dive into an NSO zero-click iMessage exploit: Remote Code Execution - the attacker sends a "GIF", but it's not really a GIF, it's these ancient weird file formats that do such wacky compression that they can be broken and allowing memory to be written where it shouldn't... 

Monday, December 13, 2021

truly global radio

Want to listen to radio stations from all over the globe? With a real globe? So cool!

notes for future tiny gif animations for backpacks

 I bought a Pix backpack, it has a 16x20 grid of squares on its surface and comes with an app you can sideload looping animations from, as well as edit your own.

Recently I've had fun success using it band events; as a standalone billboard, or as part of my costume (for halloween or for Winter-y "blinky light parades". 

But I just realized: A. there's a feature to load an arbitrary GIF animation into the app (but it has to be sized to 16x20) B. this bag can display far more colors than the 16 that are baked into the app's editor. 

This is exciting! I have enough tools w/ P5 and what not to make my own animations. The Pix app also lets you just type in some text to scroll, but it's rather plain and boring. 

16x20 is going to be a serious challenge, though... like just over a quarter of the pixels I had in my 40x30 small gif cinema.

Anyway, I don't like talking about projects when still in nascent stages, but I just wanted to grab some links before closing my browser window for now - here is a tutorial for making smoothly looping animations (in Processing, I'm sure the same idea is easy to switch into P5) and more importantly here is making GIFs in P5. 

Sunday, December 12, 2021

the 3 pillars of modern CSS

 Modern CSS in a nutshell mentions flexbox, CSS Grid, and newest to me, CSS Custom Properties that seem like they can do variables ala SASS... but even better they are dynamic.