Ali Naci Erdem

Personal Blog

  • Computers
  • DIY
  • GitHub
  • LinkedIn
  • Support Me

Quick and dirty animaton with async/await

10th June 2018 / Leave a Comment

Animation is a pain if you do not know how it is implemented. Basically, you are updating a value with respect to time. This is generally done by calculating the time elapsed since the last frame and interpolating this value between its initial and final values. The interpolation needn’t be linear, there are many such … [Read more…]

Posted in: Computers Tagged: animation, async, asynchronous, await, Coroutine, event loop, frame, JavaScript, js, Programming, requestanimationframe, yield

Passing Arbitrary Messages with C++

26th March 2018 / Leave a Comment

When I was working on a isometric game engine/map editor a few years back, I thought that it would be a nice idea to use some kind of a messaging mechanism to communicate between different components of the engine. Although that implementation is far from perfect, I will try to explain my intentions behind it … [Read more…]

Posted in: Computers Tagged: c plus plus, c++, control flow, message, Programming, templates, unique_ptr

Poor Man’s Mirror Protractor

10th February 2018 / Leave a Comment

I am collecting vinyl for the last 10 years although I have a rather limited collection of about a 100. I really enjoy listening music on vinyl when I have the time. Large cover art, handling the physical medium, clarity and separation of different instruments and vocals, occasional posters and stickers have always been attractive … [Read more…]

Posted in: DIY Tagged: Cheap, diy, Do it yourself, home made, lp, Mirror, protractor, vinyl

Shadow DOM is still somewhat shady

22nd October 2017 / Leave a Comment

I was recently building a web app using Polymer 2.0 and need to include some SVG assets for wider resolution support. As you may know, Polymer fully supports native shadow DOM with the 2.0 version. When using a shadow DOM context, the style tag will apply the given CSS rules inside the shadow context. This … [Read more…]

Posted in: Computers Tagged: css, dom, JavaScript, js, polymer, Programming, Scope, shadow dom, style, web components
« Previous 1 2 3 … 5 Next »