no, but relly

You really want to know how much I really don’t like movies?

For the longest time I thought Stanley Kubrick was the inventor of the famous cube.

Now I know I’m wrong. But that’s all I know about him.

a mathematical image in real life!

I always wanted to try mixing real life footage and computer generated mathematical content. So today in the office I did a quick test: I wrote an After Effects plugin so I could do exactly that – take one of my mathematical images from and embed it in a small video of my pretending do be aware of its existence. It’s my first ever attempt to enhance real life imagery with CG imagery, but I think it came well enough! I had to work on the blending area between the desk and the Mandelbulb shape, on the shadow it casts on the desk and the lighting it receives so that it would all integrate properly. I did that by live coding the shader while in After Effects, just like in Shadertoy itself. Here’s the result:

i don’t learn

having to download a document or paper in PowerPoint format is already a bad beginning.

you know next thing you’ll do is downloading Open Office, and then deleting both the document and the office package after you see how broken the document content renders in it.

and you know this before you start downloading the PowerPoint. because it’s happened many times before.

yet you do it all. as predicted


i think it’s time to get our vocabulary up to date.

for example, i very rarely send my packages by ship. but “shipping” implies (or it did) to send something by ship. and that’s what i visualize when people tell me they are shipping something. i almost want to wish them good luck with the pirates and buccaneers that might intercept and steal their item.

shall we revise this? maybe we can change “shipping” to reflect modern practices, and call it “airplaning” or “trunking”? or may be simply “sending”?

best idea ever

best way to tease your guests? use “whatpassword” as password for your wifi network, and wait till they ask for it.

ugliness, with pride

Speaking of what, now that I can do front-end coding… am I now supposed to put one million ugly stickers in the back of my laptop or how does that work?

forward or backward

I have changed the JS glRenderer from a classical prototypical object to a class free (Module like) object. Am I going forward or backward?

mushroom doodle

Another quick mathematical image. I improvised a mushroom in a weird landscape, apparently. I didn’t plan that at all, but that’s where I landed after one hour (or maybe two?) of random doodling. There’s nothing particular in this one technically or mathematically speaking. It’s more of a practicing session on Friday morning (the equivalent of a pianist practicing scales perhaps). But I like the result, hence I post it.

Realtime maths and source code here:

resurrecting? okey, i buy

in fact, resurrecting after 3 days of being dead is way, way more believable that growing a woman from a rib, the world sinking under water, a talking bush in fire, a plague of frogs, opening a corridor across the sea or multiplying bread and fish. i assume these are mistranslations, or meant to be metaphors rather than facts, but still.

not knowing how much you ignore

one of the type of emails i receive frequently is that of an amateur asking for advice. these are a pleasure to respond, except from when their question makes it clear that they are asking for advice on a topic so beyond their reach that they cannot possibly understand how far it actually is from their reach, yet they are confident they can do it. which is as naive as if i myself though i could design a particle accelerator just because i read an article on Wikipedia on the Standard Model and i felt i grasped most of it.

it always amazes me seeing how easy people believe things are. and the tricky part here is letting them know how many decades of work they still have ahead of them in an positive and encouraging way.

labeling and not creating

first it was “hacker”. then it was “generative artist”. now it was “creative coder” it seems. so stupid.

as trends go and come it seems people are more interested in labeling themselves and belonging to a group, rather than actually creating anything of value.

two situations, one same problem

two finger scrolling gesture in software applications (when in somebody else’s computer) is pretty much like toilet paper rolls (in somebody else’s bathroom). they always go in the wrong direction!

please explain

somehow we have reached a point as society where masturbating in public is not allowed, but smoking is.

please explain (the second part, i suppose)

it does not work the way you think

Please, remember WebGLSL is not C or even GLSL. In particular, conditional branching does not work the way many people seem to think it works. For example, this

for( int i=0; i<200; i++ )
    if( foundIntersection )

is not doing what you think. Please replace it by

for( int i=0; i<200; i++ )
    if( foundIntersection )

otherwise you are computing the shading 200 times (in most OS and browsers, as of 2015)

fancy lighting

i don’t like restaurants with fancy lighting. you know, that “we’re going to charge you 30 dollars for the Cesar salad”-kind of fancy lighting

not classy, but still with style

puking after drinking too much is probably the less glamorous thing a person can do.

however, once in the situation, puking late night from the window of a cab running full speed in the Bay Bridge of San Francisco, is somehow kind of a classy way to do it. somehow. in some way. i think.

mémoires of the past

not for humans

California is not for humans. it’s so dry i don’t understand how humans settled here. in fact, given the latest discoveries, i’m starting to think there might be way more water in Mars than in California.