[example] Clock
Posted: Sat Feb 23, 2013 11:43 am
Hi !
I noticed that every examples given on the wiki are very simple. That how should it be since it is for learning purpose... However some simple examples could be added to the list, so we could go one step further.
I've got some ideas i would like to propose, and here is the first one : a clock !
It was made to show how to handle polar to rectangular conversions and how to retrieve time informations.
I tried to make it simple to understand, no classes, one file, ...
Obviously, i will be happy to modify it, add comments on how i managed to do the conversions (i didn't explained the maths inside) since it's supposed to help as most of people as possible
So, what do you think ?
I noticed that every examples given on the wiki are very simple. That how should it be since it is for learning purpose... However some simple examples could be added to the list, so we could go one step further.
I've got some ideas i would like to propose, and here is the first one : a clock !
It was made to show how to handle polar to rectangular conversions and how to retrieve time informations.
I tried to make it simple to understand, no classes, one file, ...
Obviously, i will be happy to modify it, add comments on how i managed to do the conversions (i didn't explained the maths inside) since it's supposed to help as most of people as possible
So, what do you think ?