Previous Up No next

Diary, May 2022

Sun Mon Tue Wed Thu Fri Sat
  1   2   3   4   5   6   7
  8   9  10  11  12  13  14
 15  16  17  18  19  20  21
 22  23  24  25  26  27  28
 29  30  31

Sunday, May 1, 2022

Irregular grids

In the past weeks, I wrestled a lot with finding a correct algorithm for the generation of irregular grids of squares and equilateral triangles. For a long time, I worked on an algorith that would generate all possible strings of 'pieces' (the triangles and squares at the various orientations) from a give string of pieces. But it was only after I decided to look at the five possible slopes of the lines on the top and bottom of the strings of pieces and generate all possible strings of slopes from a given string of slopes, that I succeeded in implementing the working program irst.cpp this evening. It also groups all strings of slopes into groups that can reach each other the program finds a total of 455 groups. Many of these groups have just one or a few elements. There are also groups that have strings of slopes that have not been investigated (marked with the text 'FAIL'). This is because the strings of slopes are generated by searching all strings of pieces up to and include a length of twelve that return to the first element of the string.

Wednesday, May 4, 2022

Uploading bitstream to FPGA

Yesterday evening at TkkrLab, I talked about helping out with developing the firmware for the MCH2022 Badge. I am going to look into uploading bitstreams to the FPGA through the USB connector. The first idea is to add a menu option to the main menu which listens to the USB connector for a bitstream to be uploaded to the badge and which when the bitstream is received, uploads it to the FPGA. There is already code available to upload a bitstream from an SD-card. I will also have to develop a program for sending a bitstream from a file to the USB. I had a look at the code of iceprog, the program to upload bitstreams to, for example, the UPDuino. This program talks to a flash-chip. So, it is not really applicable. This evening, I spend cloned the firmware repo and build it, running the Install Prerequisites for ESP-IDF and next using the following commands:
git clone
cd mch2022-firmware-esp32/
git submodule init
git submodule update
. esp-idf/

I only found the BADGE.TEAM > ESP32: firmware development > Getting started page after I did this. I do not know whether this is still up-to-date. I spend some time studying the code in the 'main' folder and from there also some files in some other folders.

Thursday, May 5, 2022

De vijfde lijn

I finished reading the book De vijfde lijn (Dutch for The fifth line) which is based on a number of talks between Steven Aalders (a Dutch abstract artist) and Robert van Altena (a Dutch art critic). I started reading the book on February 23. I bought it on January 26. Just like with Peter Struycken, colour plays a central role in his works. He makes use of simple shapes, mostly rectangles. Compared to Struycken, it seems to me that his approach towards colours is more intuitive (based on emotions) whereas that of Struycken seems to be more rational. On page 36 of the book Struycken is mentioned along with Jerry Zeniuk (a German artist) and Daniel Buren. On page 237 Aalders makes a remark how Rembrandt in his painting Self-Portrait with Two Circles made use of the four colours from the Greek antiques: Whites, blacks, ochres and reds. Struycken has studied the use of these four colours from the Greek antiques through history. On page 192 the book references Sentences on Conceptual Art by Sol LeWitt.

Sunday, May 8, 2022

Spruce Street, Berkeley

I have started reading the book A Heartbreaking Work of Staggering Genius. I was reading Chapter 2, where it mentioned Grotto Rock. After some map searching, it seems that they lived at 876 Spruce Street, Berkeley. The book also mentions the author walking down Marin Street, but that must be Marin Ave. Although Cragmont Elementary School is just across the street, in the book it says that they send Toph to Black Pine Circle. On page 59, there is a mentioning of a nude beach. This could either be Gray Whale Cove State Beach or a smaller one closer to Montara that is now closed.

Addition: On Monday, I discovered that Cragmont Elementary School was closed between 1990 and 1999.

This months interesting links

Home | April 2022