bits & pieces

Circular inversion

After watching the demonstration of Zvezdelina Stankova on how to prove the Ptolemy’s theorem by using inversion of the plane, I could not resist the urge to implement this projection in a shader and play with. About the implementation The implementation of this projection in a shader was much more easy than excepted. The math

Reviewing the road generation system generation of normal…

Reviewing the road generation system. generation of normal and tangent for each segment (cyan & purple vectors): they can be used easily to generate a new road starting from any point; a million better random selection, based on the formula: X1 = a*X0 + b % m; This random generation merits a bit of attention.

Looking for loops in networks It’s seems very…

Looking for loops in networks. It’s seems very simple, but when i’ve started to search for a programmatic way to solve this, you ends up with a kind of complexity that seems much too high compared to the problem. After a bit of research, i found the Rocha Thatte method. It is a very elegant

Finding cycles in networks Since several days i…

Finding cycles in networks. Since several days, i was trying to solve a problem that will occur in #peel: how to broke a connection when the connection is part of a “cycle” (i’ve called it “loop” until now). This problem is illustrated here: The beginning of the answer is in wikipedia and uses graph theory

Mentholed blender related issue in bitbucket A long…

Mentholed blender related issue in bitbucket A long time ago (2 years maybe), i’ve worked with yacine sebti to make a bridge between a timeline editor in max/msp (yacine’s world) and openframeworks (my former world). The project was called Menthol. This prototype has been used in the void project. The openframeworks addon is here: https://bitbucket.org/frankiezafe/ofxmenthol