Electronic “paper crane” or orizuru – freeform circuit

I had a bunch of smd LEDs and no idea what to do with them. But then, when I had watched all these events in Hong Kong. And when I had seen how they make this paper cranes I decided to make my own version. It use ATtiny13 AVR microcontroller and software PWM to slowlyContinue reading “Electronic “paper crane” or orizuru – freeform circuit”

Fotogrammeetria

Mis on fotogrammeetria Fotogrammeetria on protsess, kus me teeme hunniku järjestikuseid pilte mingist objektist ja laseme arvutil neist rekonstrueerida kolmemõõtmelise objekti. Nagu panoraamfoto tegemisel peab ka siin iga järgmine foto katma osaliselt sama ala, mis eelmine. Seejärel targad programmid ja algoritmid analüüsivad pilte ja proovivad tuvastada, mis on esiplaanil (teravamad) või tagaplaanil (udusemad), mis osadContinue reading “Fotogrammeetria”

C vs. C++: Bubble sort

I have identical bubble sort algorithm in C and C++. Same data and same computer. Experiment shows that C is twice as slow as C ++. In C it takes 124 processor clicks or 0.000124 sec. In C++ it takes 66 processor clicks or 0.000066 sec. C Bubble sort code: C++ Bubble sort code: https://github.com/taunoe/cpp-examples/tree/master/Sorting-algorithms/Bubble-sort