RaPenduLa: Una Video piattaforma FaiDa Te Per Studiare Oscillazioni Meccaniche

Qualche giorno fa ho pubblicato un nuovo progetto educativo sul mio sito Instructables. Il dispositivo, che ho battezzato RaPenduLa (dalle iniziali in inglese di RaspPi Pendulum Laboratory), è stato ribattezzato in italiano CAMPO (Computer Analisi Moto Pendolare Oscillante) grazie a un suggerimento di ChatGPT. Ma, come direbbe Shakespeare, ‘What’s in a name? That which we call a rose by any other name would smell as sweet’: il cuore del progetto è infatti una piattaforma video per lo studio delle oscillazioni meccaniche. Utilizzando un Raspberry Pi Zero W2 dotato di modulo fotocamera, il sistema registra ad alta velocità il movimento dei pendoli. Poi, con un’analisi video basata su Python e OpenCV, RaPenduLa è in grado di tracciare il percorso preciso della punta del pendolo, visualizzandone il comportamento oscillatorio in 2D.

Continue reading

RaPenduLa: A DIY Video Platform for Exploring Mechanical Oscillations

I have recently published another educational project on my Instructables website. I called the device RaPenduLa for the RaspPi Pendulum Laboratory, and it is a video platform for studying mechanical oscillations. It uses a Raspberry Pi Zero W2 equipped with a camera module to record the motion of pendulums in high speed. The interesting part happens through video analysis: using Python and the fantastic OpenCV library, RaPenduLa can track the precise path of a pendulum’s tip and help visualize its oscillatory behavior in two dimensions.

Continue reading

Easter 2025: Exploring Egg-Shaped Billiards

It has become a recurrent habit for me to write a blog on the shape of eggs to wish you a Happy Easter. Not repeating oneself and finding a new interesting topic is a brainstorming exercise of lateral thinking and a systematic search in literature to find an interesting connection. This year, I wanted to explore an idea that has been lurching in my mind for some time for other reasons: billiards.

I used to play snooker from time to time with some old friends. I am a far cry from being even an amateur in the billiard games, but I had a lot of fun verifying the laws of mechanics on a green table. I soon discovered that studying the dynamics of bouncing collision of an ideal cue ball in billiards of different shapes keeps brilliant mathematicians and physicists engaged in recreational academic studies and important theoretical implications.

Continue reading

I received a surprise gift, and I want to express my gratitude for your unwavering support!

Today, I was pleasantly surprised by a message from WordPress. It announced that a very generous reader had gifted a subscription. This gift covers the cost of my personal plan and website domain.

First and foremost, I want to express my heartfelt thanks to this undisclosed reader for their generosity. You are the first to make such a donation. Your support has given me a great boost of encouragement to continue writing. If you wish, I would be happy to acknowledge you on this page.

This blog began as a personal space to share my work as an educator and scientist. Over time, it has also become a place for reflections on my past experiences and long-standing hobbies. I enjoy exploring a wide range of scientific topics that spark my curiosity, and I write simply for the joy of sharing my enthusiasm for science. My endless curiosity drives my fascination with the natural world and the universe around us. I started this journey with no particular expectations—just personal fulfillment. Now, I’m delighted to see the readership growing and grateful that some of you find this blog valuable enough to support it.

I have written this post in English. I do not know the donor’s primary language. This ensures my gratitude reaches you. If English is not your main language, inform me. I am happy to express my thanks in Italian or German.
Spero tuttavia che il mio messaggio sia chiaro anche ai tanti connazionali che leggono le mie pagine in italiano o ai lettori di lingue latine che possono comprenderlo, e li ringrazio di cuore.

Und ich hoffe auch, dass viele deutschsprachige Leser meine Seiten auf Deutsch verstehen können – so gut es geht! 😊

Season’s Greetings with Diffusion-Limited Aggregation!


As the year comes to a close, let us take a moment to reflect on the beauty of nature and the profound patterns that can arise from simple rules. Inspired by the Diffusion-Limited Aggregation (DLA) simulation—a concept that creates mesmerizing structures from chaotic randomness—we find parallels between its patterns and the essence of the holiday season.

The animation featured here was created using my DLA simulator, written in Awk, my favorite programming language. This program simulates the deposition of randomly diffusing particles in two dimensions. In this case, it mimics the formation of snowflakes or coriander-like clusters, with particles meandering through randomness to form intricate fractal structures.

These patterns remind us how small, individual efforts can come together to create something extraordinary. Be it family gatherings, acts of kindness, or moments of generosity, each step contributes to a larger, beautiful picture—much like how particles aggregate to form stunning natural structures such as snowflakes, coral reefs, or mineral deposits.

Wishing You:

🎄 Fractal Joy: Let your happiness grow in beautiful and unexpected ways.

🌟 Boundless Creativity: Like the Moore and von Neumann neighborhoods in the simulation, embrace different perspectives to expand your horizons.

❄️ Peace and Harmony: May your life’s matrix be filled with meaningful connections and serene moments.

May your holidays be filled with love, joy, and wonder — and may your 2024 be as inspiring as the intricate patterns of life itself!

Happy Holidays! 🌟

RasMol: A Classic Tool for Molecular Visualization

In questo articolo descrivo come ho usato per molti anni il programma di visualizzazione molecolare Rasmol per delle esercitazioni pratiche di chimica generale presso l’Università dell’Aquila (Italia). Le esercitazioni consistevano nella visualizzazione di strutture cristallografiche di sistemi molecolari e nella misura di alcune proprietà geometriche. Per questo scopo è stato usato Rasmol controllato da un’interfaccia, scritta nel linguaggio Tcl/Tk, che permetteva di selezionare la struttura molecolare da visualizzare.

RasMol è uno tra i programmi più diffusi per la visualizzazione di strutture molecolari. Esso è liberamente distribuito e nel sito web (http://www.rasmol.org) è possibile ottenere il codice sorgente e gli eseguibili per i sistemi operativi Linux, MS Windows e Mac OS. Il programma ha un’ottima documentazione in lingua inglese. In questa pagina sono fornite le istruzioni necessarie per usare il programma per l’esercitazione. I lettori interessati sono comunque invitati ad esplorare le potenzialità di questo programma, installandolo sul proprio computer.

Continue reading

The KaleidoPhoneScope: Breathing New Life into a Classic Physics Demonstration

What if an antique scientific instrument could be reimagined to inspire modern classrooms, foster creativity, and even be used to create form of dynamic art ? Meet the KaleidoPhoneScope, a contemporary twist on Wheatstone’s classic Kaleidophone [1]. By integrating 3D printing, laser technology, and microcomputers, this revamped device transforms the teaching of physics, engineering, and even mathematics into an engaging and interactive experience.


Figure 1: The KaleidoPhoneScope. A) Diagram of the KaleidophoneScope with indications of the different parts described in the text. B) Photo of the final apparatus with the horizontal cantilever wire. C) variant with the all-flexible Γ wire.
Continue reading

Look at the Rainbow in a Soap Film: An Instructable Project

My heart leaps up when I behold 
   A rainbow in the sky:
So was it when my life began; 
So is it now I am a man; 
So be it when I shall grow old, 
   Or let me die!
The Child is father of the Man;
And I could wish my days to be
Bound each to each by natural piety.

William Wordsworth, March 26, 1802


I couldn’t resist citing the beautiful poetry by Wordsworth about the rainbow to introduce my new Instructable, ‘Explore the Physics of Soap Films with the SoapFilmScope.’ I got the idea for this project by reading an article by Gaulon et al. [1]. The authors describe in detail the use of soap film as an educational aid to explore interesting effects in the fluid dynamics of this system. In particular, they examine the impact of acoustic waves on the unique optical properties of the film. In this Instructable, we have designed a device called the SoapFilmScope to perform these experiments. This tutorial will guide you through the process of creating this device, showcasing the mesmerizing interaction between sound waves and liquid membranes. The SoapFilmScope offers an engaging way to explore the physics of acoustics, light interference, and fluid dynamics.

When a sound wave travels through the tube and vibrates the soap film, it creates dynamic patterns through several fascinating mechanisms:

The device consists of a vertical soap film delicately suspended at the end of a tube obtained from a PVC T-shaped fitting that you can get from any DIY store. By attaching a small inexpensive speaker to it, you can let the film dance to the rhythm of the music.

Continue reading

Retro Programming Nostalgia VI: Exploring the Hyperspace

Henk Rogers: Um, I like Pascal. Assembler is my go-to. But never underestimate…
Alexey Pajitnov: …the power of BASIC.

From the movie Tetris (2023).

It has been a long while that I wanted to write this article. The usual motivation is to propose another of my BASIC programming explorations performed in the 80s on my Philips MSX VG-8010 and Amiga 500 microcomputer. The exploration was encouraged by the reading of another of the brilliant articles by A. K. Dewdney in his column “Ricreazioni al Calcolatore” (Computer Recreation) of Le Scienze, the edition in Italian of Scientific American [1]. Dewdney’s article was inspired by the beautiful book by Thomas F. Banchoff [2] who pioneered in the early 1990s the study using computer graphics of hyperdimensional objects.

Continue reading

Easter 2024: Dinosaur Eggs, Kinder Surprise, Drug Capsules, Jumping Beans Toy and Retro programming

Oh my God. Do you know what this is? This is a dinosaur egg. The dinosaurs are breeding.

Dr. Alan Grant, Jurassic Park movie (1993)

We are again approaching Easter time and, as tradition, I would like to celebrate with an article dedicated to the most perfect thing in nature: the egg. I came across interesting books about the discovery of dinosaur eggs last year. Dinosaurs are the ancestors of birds and modern reptiles, so we will take a little detour from the traditional Easter egg, and with the spirit of equal opportunity justice, we will look at the shape of these.

Continue reading