{'fraction_non_alphanumeric': 0.019271948608137045, 'fraction_numerical': 0.0, 'mean_word_length': 4.771604938271605, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optical refraction with a toy robot

A mechanical model of light propagation helps to show that optical refraction is related to the speed of light and how it changes from one medium to another. A tricycle toy robot is used to realize the model. Left and right wheels independently change their speed (high or low) in response to the local color (white or black, respectively) of the ground pattern detected by the corresponding optical sensor. Because of this simple rule the robot path deviates when passing, for example, from a clear to a dark area, in this way mimicking the refraction of a beam of light at an air–glass interface. Black silhouettes, representing optical components, are positioned on a clear mat along the robot trip. The robot trajectories reproduce phenomena such as refraction and total internal reflection showing a perfect analogy to light path described by geometrical optics in a sort of live ray-tracing.