Dynamic boring is still boring

Once upon a time I went to an architecture fanzine launch. The designers had composed the zine with AutoCAD, and I found it very funny that this fanzine, heavy on visuals, was much about AutoCAD than anything else. Surely most of the architecture on display and discussed in the fanzine also had the indelible influence of AutoCAD. So it was an AutoCAD fanzine, foremost. "We shape our tools and our tools shape us," and so on.

Recently I’ve begun to notice most of the visual design that passes for fashionable nowadays looks like that AutoCAD zine. As if, among other things, the government issued a decree banning serif type. Creativity allowed as long as it applies cartesian sans. Now, it does looks fairly obvious to me many visual designers are coding or emulating results from dynamic typography, which spread like wildfire from fringe Processing tutorials to 10K+ Instagram accounts. What I can’t put my finger on is why I feel the results are so inert and uninspiring, as if still made with a software intended for designing very static buildings. It seems visual brutalism doesn't allow any perception of dynamism.

First as Tragedy, Then as Fascism thebaffler.com/latest

Jenny Odell on why we need to learn to do nothing: ‘It's a reminder that you're alive’ www.theguardian.com/lifeandstyle

Capitalism Made This Mess, and This Mess Will Ruin Capitalism www.wired.com/story

An End to Pornography, Sophistry, and Panty Raids www.wired.com/story

Collecting in the Age of Digital Reproduction medium.com/@REAS

On Tumblr and independence

If you have been a close reader of this website, you may know that for the past twelve years I had been using Tumblr as a sort of administrative backend for my posts, pretty much cloning my Found Objects tumblr with just a dash of Flickr, Twitter, and Instagram, and quite rarely some text posts written directly to this website's SQL database. I took to Tumblr, and the whole principle of tumblelogging, almost at once, and wholeheartedly. Back in 2007, not only was posting to Tumblr revolutionary in its ease and instantanaiety, but the idea of having differently-formated posts according to their type was something I could never let go of again.

I'm not going to narrate Tumblr's woes over the years. While the final nail in Tumblr's coffin might have been its "porn ban", in which new owners Verizon killed the service's reputation as a safe space and as the last large scale indie web host in a bid to please the reactionary moralists in charge of the Apple App Store, for me Tumblr started to die a few months earlier, when GDPR compliance totally broke its API and nobody at Tumblr seemed to care to fix things. So talk about setting fire to a sinking ship.

Which is a shame. I was proud to affect found.tumblr.com, a good URL I got offers for every now and then during Tumblr's heyday, and I loved the ethos of an old school, no real-name policy, social web host that not only tolerated porn but, most importantly, did so as a side effect of offering an haven to the oppressed and bullied on the rest of the Commercial Web — queer people, social activists, lonely and misundertood teenagers, what have you. Tumblr offered sanctuary for the weird, the frisky, and the melancholic, very much like Geocities (another Yahoo casualty) or LiveJournal once did. Now it does not. Refugees may learn to setup their own host, or migrate to the Fediverse or Google Docs (really) to stay social. I'm really rooting for Mastodon to take off, so that places online where the "free" in "free speech" also means "freedom from hatred" can still exist. So I'm watching that space. As for here, I finally took the time to code a small backend so I can continue posting stuff without going through Tumblr. It's a somewhat sad way for my website to regain its independence. Tumblr served me well. Onwards!

No fun twenty-eighteen

In the last few years, come the end of December, I have posted about my favourite media of the preceding year, even though writing such retrospectives has increasingly felt more like a chore. I'll append a list of some of my favourite online readings of the year at the end of this post, but 2018 leaves me in no mood to write a lot about movies (with one exception), or books, or music, or television.

Anyway, if you are a human reading this and are indeed interested, I have a running list of my favourite movies of 2018 over at Letterboxd. But even though Call Me By Your Name felt like summer holidays, or Cuarón's Roma is a Cinematic Achievement, or The Florida Project tightropes between the colourful and the garish in photography as in life, or You Were Never Really Here has the Best Hammer-yielding Avenger, or First Man gave me the goose bumps because I'm all into vintage space exploration, none of those movies is really about the malaise of 2018, and the one movie I keep thinking back and reflecting upon is Paul Schrader's First Reformed.

In a dark conversation with a friend late in a November night, we discussed how maybe we belong to one of the Last Generations of a civilized humanity. Even if Miracle Fusion Energy is discovered and humanity manages to cope with climate change and soil depletion without having turned the poor first and the less rich afterwards into Soylent Green for the one percent, the fact remains that optimism and positivism at this stage feels callous. In this context, First Reformed dared to address the taboo of feeling that it is wrong for someone informed to willingly bring a new witness into this world, in which our economic and media elites consciously or unconsciously plot to shepherd the expendables (that is, me, you, and most of everyone we know) into the Door Number Four of the Four Possible Futures, as it was shockingly well articulated — in my own Portuguese tongue, no less —, by the victory of the Exterminist candidate in the Brazil presidential election.

It's not that I've stopped whatever I am doing in life and retreated to a monastery, an idea that sounds even worse after I typed it. The paradox is that I remain engaged in my research on education and technological literacy. Even though I'm not willing to bet the existence of new human beings on that outcome, I keep daydreaming about the old techno-hippie promises of freedom, equality, and fraternity, as if everyone just learns to code and we all break free from late capitalism — swallowing, so to speak, the red pill that undoes the spell of manipulation and envy. Sadly, a brief look at forums reveals that people that work in the algorithmic sausage factory are fully invested in their shit wursts, and that the red pill metaphor, much like the word 'freedom', is most often used in horrifying ways. So maybe the meaning of our lives is in nursing each other through the end of civilization, or at least through the barbarian invasions, and that requires thoughtfulness, civility, and approaching whatever the hell the internet is nowadays with the reverence one does for weapons of mass destruction.


So anyway, that BoJack Horseman funeral eulogy episode was terrific!

Here are some news articles and reports I found pertinent in 2018:

On our technological dystopia:

On how hell is other people:

On turbo-capitalism and other scams:

On science and (good) technology:

On art and culture:

On other things:


Here's some 2018 visual candy to wash away the bleakness. This one is my favourite.

The Joys of Deletion

It’s been twenty-one years since I followed a Microsoft Frontpage Express tutorial in some British computer magazine and built a personal website. I practiced my high school English writing about my city, about the music and the films I liked, and, as I was turning eighteen, some bad poetry. I also followed instructions on using a FTP client and uploaded the site to the meagre megabyte of space my ISP offered, marvelling at the fact that the site — my stuff — continued accessible even when my computer was turned off. I would check my website at my friends’ computers, at libraries, at cyber-cafés, just to confirm it was indeed an independent entity, and no further action was needed from me for my site to be available to everyone, always.

Over the next few years I would iterate my site obsessively, experimenting with form, structure, content, while building spin-off sites at the same time — photo manipulation exercises hosted over at Geocities, Sensible Soccer at Tripod, tracker music playlists at some other short-lived free webhosting company. Later I would start to blog, in both solo and group form. Early enough that I became one of those “blogging before it was cool” curmodgeons while enduring the Blogger age. Later still, I enthusiastically took up Tumblr, and eleven years later I keep using its still open API as a jury-rigged blogging backend. In this age of Medium, I can’t but feel that having your own personal blog became an eccentric hobby like model railroads or birdwatching.

During these years I migrated everything over domains and platforms. If you’re at the right place, this particular blog you’re reading was started April 21st, 2001. Even though I took stuff offline as I went along, deleting what I found embarrassing or no longer interesting from my online sites (always keeping offline copies, though), between the Wayback Machine and Google’s caches, I never trully know what is still accessible and what isn’t.

You can see where I’m getting at. I’ve consciously and willingly put a lot of stuff online on the web, as my professional path took me from amateur to pro and back to amateur, and then possibly to eccentric hobbyist. I formed an habit of not considering my preferences and opinions as private, so I possibly drew the privacy line further back than most people my age. Although I am careful not to give my exact whereabouts to prying eyes via Instagram or other networks, always posting stuff well after the fact, nearly all of my posts on Facebook are public and automated — from Instagram, from Twitter, itself a public repository of my public Pocket favourites. In fact, most things I ever posted on Facebook exists in some way in this website, and vice-versa. My threat model has been parochial: I might have felt a small amount of concern about a prospective client, employer, or date ending up reading something they find disagreeable, but… open book and all that. I’ve always took ‘online’ to mean 'public’.

So, Facebook. I won’t say that Cambridge Analytica business is okay. But an unexpected breach of trust? No: fully expected. Or further still: what trust? Did you expect that when you give information to a private entity they wouldn’t use that information as they privately see fit? Do you imagine your ISP, which you actually pay for, to behave any differently from the postal service of a totalitatian state, peering inside every envelope and package? Or for that matter, your paid VPN provider, which you use for 'security’? 

Let’s not forget the net is war technology, and computers were invented because spies — indeed, codebreakers — needed them. Digital technology is spyware at its core, and for all of Facebook’s abuses, I don’t think the problem lies with a few companies, or even with a Silicon Valley ‘culture’. The problem is a deeper, way deeper, capital-P Political problem, of how we as a society look at information technology. Facebook harvesting an admittedly alarming amount of information about our preferences and opinions, and then selling it to the highest bidder, is not that different from YouTube being the house the unpaid labor of a large mass of video producers built, or AirBnB being a machine for subsidizing tourists, landlords, and housing developers with money stolen from the monthly paychecks of tenants and lenders.

Now, as with regarding Volkswagen’s Dieselgate scandal, I’ll happily argue for executive jailtime and some kind of 'death penalty’ for unethical companies (say, forced nationalization or redistribution of institutional shareholders’ stock to the workers, which would be something nasty and also leftist enough to get shareholders’ skin deep in the game). But again, that’s Political. As much as I watch Facebook’s stock plummet with some glee, and as much as I imagine that, as I mass delete old posts and likes, sirens are going off in Zuck’s volcano lair control room, henchmen screaming “our assets! are being deleted!”, and the Falcon Heavy fails its launch to Mars and explodes the whole island… will I delete my account?

No.

Will I keep using it as before? Well, almost. Yes, I did delete a lot of stuff I had on Facebook and other platforms belonging to private corporations. Digital spring cleaning: deleting content, unliking and unsubscribing pages no longer active or interesting, unfollowing and unfriending followees and ‘friends’ no longer known or trusted. I deleted chats from long ago, chats no longer going, chats with ghosters, thus also sparing myself the cognitive grief of illusory availability and trust. And yet, Facebook has become, alongside Google, an essential communication utility. Facebook group chats have became, at least for me — a single, middle-aging person who works from home —, an essential tool for socializing with a loosely-knit group of friends. #deletefacebook is great if your socializing doesn’t require it. But unless I can convert a large group of very different friends and acquaintances into cypherpunks using Mastodon and Signal (and surely I don’t want to be that kind of guy), I just can’t.

Multiply this by the troubles of 2 billion persons: Facebook is an utility, like your electrical company, like your water and sewage company, like your ISP or the postal service — the German Democratic Republic’s, in this case. Furthermore, Facebook is a monopolistic utility (just think that Instagram and Whatsapp are theirs) to be dealt with in the realm of Politics. Dealing with it perhaps requires a whole other model of society, as I don’t think Facebook should be a private company, but I don’t think it should belong to a government either.

I don’t really have any ideas about what to do with Facebook or Google. Political intervention seems a fever dream, and the same for 2 billion people simultaneously changing habits. It may be that something actually better comes along and disrupts the disruptors — who knows if the blockchain is actually good for more than growing tomatos? Or we may find ourselves in a VR Facegoolazon hellhole, reminiscing about the present day as we reminisce of the 1990s.

Twenty-seventeen media diet: movies & series

I watched fourty-seven movies released in Portugal throughout 2017, and this time I even took the time to make a ranked list over at Letterboxd, which you shouldn’t take very seriously — ranking apples alongside oranges is hard! Still, these are the films I would very much like to highlight and recommend, in no particular order:

The Nothing Factory

A Fábrica de Nada (The Nothing Factory) by Pedro Pinho. There is a story in there about a group of workers stopping their factory owners from removing equipment and relocating, and then proceeding to turn the factory into a co-op. But the movie is so much, much more as a powerful case-study on those left behind by the turbo-capitalist zeitgeist; and it is served well by being more interested in raising questions about what can be done in the 21st century (there is an exemplary scene where a few artist-burgeois discuss politics without actually getting anywhere) than providing 20th century answers. Stylistically, The Nothing Factory also blends the documentary with the lyrical (there’s even a musical sequence), making the film akin to a long episode in Miguel Gomes’ opus Arabian Nights. Were that the case, it would have been one of the very best.

The Square

The Square by Ruben Östlund. Do you ever wonder what it would be like if someone made a movie in which a character much like Mad Men’s Don Draper was the curator of a large museum, and terribly sucked at his job? Well, look no further! And the sad thing is, The Square does feel like a pretty accurate observation of how the institutional art world is run. The Square is perfect companion piece to Banksy’s Exit Through the Gift Shop, should you still believe in contemporary art.

Paterson

Should you despair too much at what ‘art’ became, I heartly recommend Paterson by the great Jim Jarmusch: a sober movie about how artmaking belongs anywhere and to everyone; and how making trumps showing.

20th Century Women

20th Century Women by Mike Mills and Song to Song by Terrence Malick are two movies that couldn’t perhaps be more different, but I consider them both sides to a coin: Mills’ shows growth and the strengthening of human relationships, while Malick’s chronicles their destruction. An yet, both are movies about longing, both are charming and hypnotizing, and both are balsam for a heart’s wounds.

Thor: Ragnarok

I would also highlight a few more movies that could just as easily be listed as my favourite should have I left my bed through the other side this morning: Aquarius, a great Brazilian movie about, for the lack of better words, resistance to the gentrification mafia; The Age of Shadows, an amazing Korean spy thriller set in World War II, echoing of J.-P. Melville’s French resistance classic Army of Shadows; Pablo Larrain’s Neruda, half an amazingly charming portrait of the Chilean poet, half a great political thriller about his escape from persecution; character studies in loneliness Moonlight; and also Lucky, played by the late great Harry Dean Stanton; James Gray’s venture into the unknown with The Lost City of Z; and finally, Thor: Ragnarok, which commanded the best laughs I gave at a theatre last year, and I praise Marvel and Taika Waititi for the change of tone and embrancing all the sillyness and psychedelia of superhero comics in a very crisp comedy. I am also firmly on the camp of those who really liked The Last Jedi — to paraphrase a friend, I was expecting Star Wars but got a good movie instead, and commend Rian Johnson for the way the movie made short work of turning expectations around.

A few words for movies I didn’t like at all. I admit I wasn’t expecting much from T2 Trainspotting, but I felt it consisted of little more than reminders of how the original felt cool in 1996, and was in the end as welcome as a tour from a second-rate britpop band. In the same vein, I felt whitewashed Ghost in the Shell was as mediocre as expected, but at least a little redeemed by casting Beat Takeshi with the weirdest haircut. Luc Besson’s promised return to The Fifth Element form was a big failure, but at least I think I won’t change channel should I ever come across Valerian on television, on aesthetic grounds alone (and the movie did have a great title sequence). I won’t have a reason to watch Blade Runner 2049 ever again, however. Jamie Zawinski’s analysis of 2049’s failures is pretty spot-on. As I said before of Arrival, Denis Villeneuve must have the best press agents working in Hollywood. Even Ridley Scott, surely a culprit in that he claims to have pitched ideas for 2049, felt bored watching it. As with movies such as Interstellar, where did this trend of equating movies about Serious Questions About Man’s Place in the Universe with logically unsound plots, stiff acting, lots of slow wide shots of landscapes, and Loud! Hans Zimmer scores come from?


Twin Peaks: The Return

Granting David Lynch’s wish that Twin Peaks: The Return been seen as a long movie, I would surely place it among my favourite of 2017, else it was one of my favourite series, even for all its Dougie-ing (I’m sure that’s a word now). It’s surely the ultimate showcase of David Lynch’s craft — he’s very good at creating characters, he’s very good at creating mood, he’s very good at world building, he’s very good at slapstick comedy, and situation comedy as well, he’s very good at horror (both gore and stupid), he’s very good at action!, and he’s very good at that which he’s best known for, creating painterly nightmares — of which Episode 8 is the ultimate example. David Lynch is very good.

Halt and Catch Fire

I didn’t watch that much series, but I’d highlight the final season of Halt and Catch Fire, and how a series that started as Difficult Man in the 80s Tech Industry grown over time, as it gave the lead to Donna and Cam (sorry, Joe!) to one of the best portraits of human relationships bound by the creative process. Computers not being the thing, but being “the thing that gets us to the thing” is a line that I’ll carry as the perfect description of why I like the Internet so much, even in a year I often felt the Internet should just close and begone. I will also highlight the great second season of Master of None, and a good return of Mr. Robot, less concerned with serving Fight Club-level twists and more focused at being a very good cypherpunk thriller.

A survey of my favourite reads of 2017 is coming soon!

Twenty-seventeen media diet: books & articles

I haven’t read as many books as I would have liked throughout 2017, and most of the times ended up entertaining myself with some sci-fi escapism (or not, given how I tend to go for the bleak stuff). Still, I would like to highlight a few books that left an impression:

Laurent Binet’s HHhH would be a very thrilling account of Operation Anthropoid, the assassination of high-ranking nazi Reinhard Heydrich by a czechoslovak commando during World War II. Even though it would be wrong to describe reading this book as a joy, given the book’s description of the rise of nazism and of nazi atrocities, it is true that I found HHhH unputdownable, mostly because of the book’s narration from the point of view of its author, researching the book as it is written — eg. finding a crucial detail in a museum in Prague while on holiday there, commenting on how an old film adaptation of the events gets a few things wrong, being constaly unsure of the color of the car Heydrich was in during the assassination, etc.

I really liked the worldbuilding on Ada Palmer’s Terra Ignota books, of which I’m halfway through The Will to Battle, the third in what is expected to be a tetralogy. I’m still a little bit unsure about the premise (There’s going to be a war! Why? Because there’s going to be a war!), and the structure of the books tends to be a bit boring sometimes, specially in the second volume (a dialogue scene, then another dialogue scene, and another, and another), the utopian future world Palmer describes is very consistent and really stays with me, a marvel I would like to see like no other in earthly sci-fi. I see some hints in The Will to Battle that Ada Palmer may be improving at writing action, and if so I can’t hardly wait for the final chapter. And given the worldbuilding, the number of interesting characters, the operatic style, the blood and the constant menace, I hope HBO comes calling. That I would watch.

I’ve also given much thought to Cixin Liu’s bleak Remembrance of Earth’s Past trilogy. While parts still feel very unsophisticated (such as the very weak writing of female characters), it’s very interesting to read hard sci-fi with a chinese point-of-view. And most of all (a spoiler for the second volume, The Dark Forest, follows), Liu offers one very interesting and extremely unsettling theory about why we haven’t yet found any other signs of life in the universe: every advanced civilization is hiding, as demonstrations of intelligent life are swifly met with extermination before they can grow to be a threat. Add the SETI project to our list of existential threats.

I haven’t watched the series, but did feel inclined to read Margaret Atwood’s The Handmaid’s Tale. Despite being written in the 1980s, I agree that it is a dystopia that captures many anxieties of 2017, and for all the ways it may strike us implausible that something as Gilead may be implemented in the West, we should never forget it has happened multiple times before (eg. just look at how Afeghanistan devolved from an emerging developing country to Taliban rule in less than two decades). Therein lies the power of distopia. We may never agree on the utopia we want — Ada Palmer’s books shows how her multiple choice utopia breaks (and that one is only made possible because of free energy and a highly unplausible transport technology). However, we may agree on what we don’t. Nolite te bastardes carborundorum!


I’ve also read quite a few online articles, of which I recommend the following:

There is no alternative?


Sciences & philosophy


The decline of academia


When technology backfires


Art and media


Funny stuff

A pledge of autonomy

I recently read Parimal Satyal's essay Against an Increasingly User-Hostile Web, and realized how I could be doing much better. Indeed, Parimal's advice towards the end of the article is very important to web users and creators alike, and I here am I taking some of that advice.

For all of my sporadic talk about the Indie Web and nostalgia for the simpler days of Geocities, Web rings, and then Blogger and blogrolls, the fact remains that, like the proverbial frog, it's true one finds himself more and more dependent on the whims and formats imposed by a handful of media brands themselves under the control of no more than a couple of companies — Google and Facebook. It's a fact I've maintained this very website since I started it (at some other domain) in 1998, and always tried to make sure anything I posted in a, for the lack of better word, regulated platform was always backed up here or some other place under my control. (Besides, having nearly all of the posts, photos, etc. I share on the internet made public is a good way of not kidding myself about those platforms 'privacy' settings. Private stuff just doesn't go online.)

I want to offer a number of apologies to my readers here. I apologize for having had Facebook and Twitter share buttons, a naïve way of encouraging you to share whatever you found interesting here and to hopefully get more visitors to this website — in simpler words, for my egotism. And I also apologize for having run Google Analytics out of curiosity. I apologize for foolishly letting these companies spy on your visits to this website.

2nd International Conference on Micronations, photographed by Leo de Lafontaine

Therefore, I henceforth pledge to try to create and maintain my websites in autonomy, and to avoid having them making connections to companies that will use them as part of an advertising-surveillance apparatus.

So far, I've got my websites rid of connections to Facebook, Twitter and Google Analytics. Links to original sources remain, but should be harmless unless you enable prefetching (which I believe you shouldn't). I still maintain the use of Google Web Fonts because, well, I am incredibly anal about typography, but that's next on the list to go. I must also disclose that I have got a few domains managed through CloudFlare, including this site's HTTPS, which is something I have mixed feelings about, but still can live with. The share buttons at the end of each of article have also been replaced with a single permalink er... link, so you are, of course, free to copy and paste the URL and share my posts wherever you please. I sure share them on Facebook! :-)

As a web user, I also followed a few recommendations that did't require more than five minutes and don't disrupt my habits the least: I added HTTPS Everywhere to my browser extensions, alongside uBlock Origin, which I've used for quite a while. I also set my search engine to Start Page, which is basically a track-blocking condom around Google Search (which, I have to concede, I am quite used to). I am already a big Pinboard user and can't recommend it enough (besides, Maciej Ceglowski really seems to be one of the Web's Good Guys).

Over the last year I had the pleasure of coordinating the CreativeMornings chapter in Porto, coordinating an excellent group of volunteers in organizing an uninterrupted series of events touching multiple themes and creative areas. As I leave to further concentrate on my PhD research, I’d like to leave a note of thanks and gratitude to all the people I had the pleasure of meeting and working with during my tenure:

First of all, to the team of volunteers that helped in organizing the CreativeMornings events, especially the core team of Catarina David, Filipe Brandão, Luís Silva, Joel Faria, and Nicole Tsangaris, in addition to everyone who contributed with a bit of their time;

To Inês Viseu and Hugo Moura for their constant support and availability hosting the events at Espiga. Their help was crucial and inseparable from the events’ success;

To Gil Ribeiro and Sofia Herrera for initially inviting me, as well as for all the guidance they provided when I accepted the challenge of being an event coordinator, doing something hitherto way outside my comfort zone;

To all the speakers I had the pleasure of inviting and getting to know through the events;

And finally, to everyone who came share breakfast with us and attend the events we all put together.

I still don’t know who will be replacing me in coordinating CreativeMornings/Porto, but I’ll be glad to help with anything that might be needed. But I know for sure the event will be back soon!

Best of the Web Week

I had totally overlooked this, but for a full week in April Kottke.org guestblogger Tim Carmody made a serious of posts that, seriously, should be in a museum; or at least on everyone’s bookmark bar: An unrelentless positive account of Web goodness, against all the darkness the net seems to have unleashed in later years. Carmody’s posts include a fitting praise of Flickr, the best tweets (including, of course, @horse_ebooks which ‘wrote’ the bestest), a very useful list of very useful tools and websites, another list of funny stories, and another of hidden gems, and yet another of life-changing websites, and, to top it all off, a great tribute to Prince.

Carmody also proposes the notion of Digital Humanism as an expression of digital archivism, which I think might be a bit too narrow, despite the unarguably Great Works listed. I’d say that much in the same way the Renaissance humanists fought (often unconsciously) against theocentrism, digital humanists too bring the human to the fore while fighting that god of our age, Finance/corporatism. Archivism is a sure expression, but I’d say the Indie Web is the Greatest Work of digital humanists.

This audio-controlled Hockney Delayer sketch works much like the Directional Delayer I posted earlier: a buffer holds a number of video frames, as the screen is made out of a grid of cells, each selecting its bit from a frame in that buffer. How further back?, being mapped to the audio amplitude. (I also added a bit of ‘jitter’, moving and slightly enlarging the cells according to the same audio amplitude.)

My intention here was to translate something like David Hockney’s collages (earlier post) to video. I’m not sure it works. Here’s another example, splicing together different video files. Both share the same audio track, again hastly assembled from TB Arthur’s free sound library, by the way. You can check the code in my Processing 3.x Github repository.