Friday, February 23, 2018

word break it down

One problem in html5 can be content where you have a long word (like supercalifragilisticexpialidocious) stretching your content all out of wack.
Support is still a little uneven,  but for both mobile safari and chrome, the css
word-break: break-word;
is a pretty good bet...

super cool login

I love this! The yeti tracks the cursor as you type your email and then covers its eyes as you type your password.

Wednesday, February 21, 2018

apple life hacks

Apple Life Hacks from Gruber's twitter: on macOS you can make a sticky "note" appear above all other windows all the time (Window | Float on Top) and on iOS you can force touch the typing keyboard to make it into a touchpad that zips the cursor around the typing area

Saturday, February 17, 2018

the chaos game

I've been upgrading a lot of my old Processing toys and games so they run in modern browsers. I had to put a bit of extra effort into one I call Sier Chaos, the Chaos Game way of making Sierpinski Triangles. (You can play with the online editor version of it as well.)

It's magical and hypnotic to watch the complex fractal of Sierpinski Triangle (like the Legend of Zelda Triforce sign taking acid) emerge from the simple rule of "draw a point, and then the next point is halfway between that last point and any one of the 3 corners, and repeat."

I ran into one clever little bit of p5 I hadn't seen before (and based on the trouble I ran into when I tried to use an old version of the library, must be new) - the random() function now can also take an array-like argument (rather than the typical numeric rangers) and it will return an item randomly selected from that array... very handy!

Monday, February 5, 2018

hidden settings and poor discoverability

September 2016 I wrote about iOS 10's new features and said
Wish I could find a setting for what mode the camera starts in, One Second Everyday geeks like me almost always are diving straight to video...
Yesterday my girlfriend pointed out there is a "Preserve Settings" option for the camera in iOS11 - in fact, judging by this article it was added in iOS 10.2, about 2 months after I complained about its lack.

Kind of frustrating to not have known about it for over a year! I guess it might make sense to go over other app settings and see if there's anything useful...