# Projects

Some of the things I have coded.

## RNN music of the day

Each day I post a music composed by a trained Recurrent Neural Network (RNN).

The idea started when Andrej Karpathy posted in his blog the article The Unreasonable Effectiveness of Recurrent Neural Networks, in which he talks about training a RNN to generate text a character at a time after being trained on some dataset. I trained a RNN to learn to generate music in the ABC notation.

You can find more details about it here.

## Numbers Music

Some years ago I published some videos on YouTube where we can listen to some mathematical constants. People liked it a lot and some of them wanted me to do things differently, like to use different scales or to play different tracks together.

So that’s what I’ve done in this project: I took that videos to the next level, allowing users to create their own math tracks in an interactive web page, full with notes mapping, speed selection and some (few) instruments.

## Monty Hall Simulation

Monty Hall problem is a surprising probability problem. Many people don’t believe the answer, so I created this simple simulator. Now you don’t have excuses for not trusting the math! If you don’t even know what it’s all about, see my blog post introducing it.

## DNA information encoding

This is a Python implementation of one of the first scalable and reliable algorithm for DNA storage of information. The algorithm was created by Nick Goldman et al and published in Nature, where I got the necessary details for a full implementation. Let me know if you put your name inside a bacteria!

## Ballistic Game

I started this project an year ago, but haven’t worked on it for a while, so it’s very raw. To be fair, it isn’t a game, it’s just a physics simulator that uses PyGame to display cannon balls trajectories, created to help anyone wondering how they could have an angrybirdsy touch in their game. I also like to use it when teaching physics. Thinkind ahead, I would like to create more accurate time representations and to add some drones to get shot. Maybe I’ll do that with HTML5, as I’m trying to learn it.

## Markdown-LaTeX

This is a simple way to write LaTeX equations in your Github repo’s README. Now I know that Github Pages is the way to go in case you want some fancy presentation for your project, but if anyone want their README to look pretty in their repo page, this script can do that. It just takes a README written in Markdown + LaTex (with equations between $$) and replace all equations with image links for them rendered in CodeCogs.