Pull animation

Posted on Sun 25 May 2014 in fun • Tagged with animation, opencv, pythonLeave a comment

In this project (that I did a year and a half ago) I wanted to recreate something I saw somewhere on the Internet. It is one of those things where you have a lot of black lines printed on a piece of transparent film, which you then put on top …

Continue reading

Getting infinities with numpy.exp()

Posted on Sat 24 May 2014 in bugs • Tagged with numpy, pythonLeave a comment

So I spent quite a lot of time this week trying to find out why I was getting infinities in one of my codes I'm working on.

In the code I have a big numpy.ndarray, let's call it a, which I then pass into numpy.exp() and save into …

Continue reading