Robotergesetze

Big Data & Me #001

My own knowledge of artificial intelligence, robotics and big data I have learned more or less self-taught, with books, countless conversations, attending meetings, reviewing scientific literature, and my two semesters studying computer science. I would now like to systematically refresh and expand this knowledge. I am currently taking part in an online program of the University of Adelaide, which concludes with a so-called MicroMaster in Big Data. This will take a few months, after which I participate in a Udemy Python boot camp, then complete an online Stanford University Machine Learning course and finally Udemy’s Deep Learning online course. My goal is to accompany all this with the blog and to gradually carry out my own AI experiments. I will post them here on the blog, too.

Machine learning is often done using the Python programming language, so it is a mystery to me why the University of Adelaide is focusing on Processing in the course. Maybe I’ll find out. Until then I try to have fun with it. The advantage of Processing is that it is easy to integrate in WordPress, while I have not found a good solution for Python yet.

Processing has a focus on graphics. That’s why my first project is a simple drawing, of course a robot. He is glad that I accomplished him, although he would like to have become a little prettier.

The algorithm is extremely simple. There are no loops yet, which makes the code a bit awkward. So I drew each element individually. The code is easy to understand, rect() stands for rectangle, the parameters in parenthesis represent the coordinates of the upper left corner, followed by width and height. However, my computer science professor would pull my ears for the code because I was too lazy for comments describing each step. I’ll save that for the next project.

size(400,400);
background(0);
fill(255,255,25);
rect(150, 55, 50, 55);
fill(0);
ellipse(165,70,10,10);
ellipse(185,70,10,10);
fill(0);
quad(174,77,177,77,179,90,172,90);
ellipse(175,100,15,5);
fill(255,255,25);
rect(170, 110, 10, 5);
fill(255,55,25);
rect(170, 115, 10, 5);
fill(255,255,25);
rect(170, 120, 10, 5);
rect(120, 125, 110, 20);
rect(120, 145, 110, 20);
rect(120, 165, 110, 20);
rect(120, 185, 110, 20);
fill(255,55,25);
rect(120, 205, 110, 20);
rect(120, 225, 110, 20);
rect(120, 245, 30, 100);
ellipse(135,370,25,38);
rect(200, 245, 30, 100);
ellipse(215,370,25,38);
fill(0,255,25);
rect(50, 125, 70, 20);
rect(50, 75, 20, 50);
ellipse(60,60,25,28);
rect(230, 125, 70, 20);
rect(280, 75, 20, 50);
ellipse(290,60,25,28);
line(150,15,175,55);
line(180,15,175,55);
line(190,15,175,55);

It looks like this:

Share this post