coding: morse code; text-to-morse translator

The invention of the telegraph as the first electrical telecommunications system is an important landmark in the history of communication, but while the tech itself is very interesting hardware, from the coding point of view I’m more interested in the Morse code used to send messages with it.

Morse code consists of dots, dashes and spaces which when linearly combined and transmitted make up letters, words and sentences. Named after Samuel Finley Breese Morse who helped co-develop it, it was later refined by Friedrich Clemens Gerke and after the adoption by the Deutsch-Ă–sterreichischer Telegraphenverein (German-Austrian Telegraph Society) in 1851, we’ve got the International Morse code in 1865, which, while slowly declining in usage and making way for better ways of communication, stayed in use up to this days and that’s the alphabet set we are gonna use to code our text-to-morse translator in Javascript.

Read more »

articles: how I use chrome devtools

When collaborating on projects and helping debugging websites and web apps, I often notice that a lot of developers miss out on a lot of useful features that Chrome DevTools have to offer, making their debugging experience more painful and time consuming, so I’m presenting my “tool-bag” of Chrome DevTools features that help me solve code issues faster.

Read more »

articles: brief history of Slovenian game development

Kontrabant title screen

In a country with a population of just 2 million people you can quickly figure out that not many are developers and if you take those that are, you can find out that game developers are even more uncommon, since earning your everyday bread in this wild industry is similar to playing lottery. Yet, there has always been a lively game development scene in Slovenia and some players managed to make it big. Out of curiosity I researched it a bit, trying to collect some of the pieces together into a brief history of Slovenian game development, since I couldn’t find anything around.

Read more »

coding: snooffline

js13k2018 challenge done in collaboration with Adam Giacomelli.

A 13kb javascript game done for the “offline” or “off-the-line and keeping the party going” 2018 code challenge theme, including hand written midi music tribute to Eric Clapton :)

Keep the bar leveled.

Play now!

Code freely available for forking on https://github.com/easwee/snooffline

Also check out my previous years entries Balls juggle and Baloon operator.

coding: 100k decimals of pie

100k decimals of pie visualized on html canvas – simple script alternates between 4 quadrants. Fiddle script: https://jsfiddle.net/easwee/adq4a4e7/

Javascript’s Math.PI is limited to 15 decimal places, so we need to use a pre-rendered set of decimals (taken from http://www.piday.org/million/).

100kpiedigits

coding: rastapico

Rastapico from Jamaica is gonna chop some plants today! A simple Pico-8 8-bit game done in 12 hours.

Due to console controller key setup X = N – move with arrow keys.

coding: canvas based music visualizations

Sound wave to music javascript conversion – pixel by pixel, manipulated in a pattern.

Sample song by Soundtribe Sector 9 – Better Day

photography: snapshots of malta

Panorama of Valletta

Few snapshots from our 10 day trip around island of Malta and Gozo.

See full gallery >>

coding: animated dynamic data list row reorder with react

Run

coding: grab 33

Tiny Sunday project – html game based on unicode characters as graphics.

Grab 33 - unicode graphics based html game by easwee.

This will probably render differently across various OS/browsers – depends on unicode support and it’s rendering. As far as I tested it works and renders nicely in latest Opera and Chrome (both Linux and Windows) – Firefox cuts part of smiley since it renders it bigger.

Try it below:

Previous page