In modern web programming languages an important concept is minimization of code, where the source code undergoes to a series of transformations (variables and functions are renamed, spaces and new lines removed and so on) in order reduce its size, compromising maintainability and readability in favor of space (and so speed of the download and… Continue reading Obfuscation and IOCCC
Tag: js
3D Video Webcam
In nature vertebrates evolved mainly with two different typologies of eyes: Evolution found also other solutions to the problem of perceive depth (like the “radar” of baths), but since usually humans are equipped only with eyes and since I don’t want to make you undergo complex surgeries to test the content of the article, I… Continue reading 3D Video Webcam
The game of life, ChatGPT version
Organic life is based on chemical reactions. Given a initial state of some compound we can try to guess how it will evolve emulating the interactions of molecules (think for example to proteins unfolding). Tha game of life is a mathematical model that wants to use this principle: an initial state and single rules to… Continue reading The game of life, ChatGPT version
HTML ASCII webcam
We want to capture the webcam stream with an html page and convert it in real-time into a ASCII stream that resembles the grayscale version of the video. If you are interested, we also present a similar C program that output the webcam in ASCII in terminal and a 3D webcam (you’ll need two webcam… Continue reading HTML ASCII webcam