Category: Maths

New iteration of the LifeBox: the controller panel

Here it is the new iteration of the LifeBox: an Arduino based control panel with 5 beautiful configurable rotary angle controllers allowing to change the behaviour of the species in real time whitout touching the code! Current C code is

Posted in Arduino, C/C++, Concept, DIY, Electronics, IA, In progress, Maths, Programming, Python, Raspberry Pi, videoart Tagged with: , ,

Raspberry Pi Life Simulator

Using one Raspberry Pi and one 32×32 RGB Led Panel and inspired by my Life Simulator Android App I created a Rasbperry version. The idea is to parametrize the behaviour of plants (green) and two herbivore species (red and blue) that compete among each

Posted in Android, C/C++, Electronics, IA, Maths, Programming, Raspberry Pi Tagged with: , , ,

Shepard tone implementation with sonic-pi

The Shepard tone, is an auditory illusion of a tone that seems to ascend / descend endlessly This is a sonic-pi (v2.0) implementation of this amazing effect. use_synth :prophet in_thread do loop do play 60, amp: 0.1 sleep 1 play

Posted in Maths, Music, Programming, Python, Raspberry Pi Tagged with: , ,

2D Stochastic Cutted Fractal Tree with Pygame

import pygame, math, random pygame.init() window = pygame.display.set_mode((800, 800)) pygame.display.set_caption(“Stochastic Cutted Fractal Tree”) screen = pygame.display.get_surface() def drawTree(x1, y1, angle, depth, r,g,b): if depth: # Brown to green gradient g=g+7; if g>255: g=7 x2 = x1 + int(math.cos(math.radians(angle)) * random.randint(10,30))

Posted in Maths, Programming, Python Tagged with: , , , ,

Quiniela: The first win!

Second try. First win! Our methodology at last is not an epic fail! Only 7.07€ but we are on the way. Tweet

Posted in Bets, Maths, PHP, Programming, Sports Tagged with: ,
%d bloggers like this: