Author Archive
Wednesday, June 28th, 2017
Next step is determining the roots of the characteristic polynomial of a matrix. Before working on extracting the roots using Newton’s method I wanted to be able to visualize the function.
(more…)
Tags: Characteristic polynomial
Posted in Algoritmi | Comments Off on Plotting the characteristic polynomial of a matrix
Saturday, June 10th, 2017
I’m currently reading Deep Learning, from Ian Goodfellow, Yoshua Bengio and Aaron Courville. While reading I got interested in calculating the determinant of a square matrix, I know there are many existing libraries to do that but the algorithm looked simply enough to give it a try.
(more…)
Tags: determinant, matrix
Posted in Algoritmi | Comments Off on Determinant of a matrix in JS
Sunday, August 21st, 2016
This is, by far, my longest running side project. I’ve started it before moving to London, so around December 2014 and now I’m so proud to announce it is ready and released on GitHub.
(more…)
Posted in Librerie | Comments Off on Enabling browser BPG support using Service Worker
Sunday, April 26th, 2015
Lately I found myself spending a considerable amount of time playing with Service Worker. This is an insanely interesting new HTML5 feature that basically allow us to define a JS file as a ‘proxy’ between the actual page and the server. The so defined Javascript file is then marked as Service Worker for the current domain (or a part of it) and this is where the magic begin
(more…)
Tags: serviceworker, the physical web
Posted in Approfondimenti | Comments Off on NoQueue: an experiment with Service Worker and The Physical Web
Monday, December 29th, 2014
During this summer I got bored from my Spotify playlist and started hunting new songs, the task revealed harder than I thought and I end up coding a small website to achieve my goal.
Falling Stars helps you find one-hit-wonders and create a Spotify playlist out of those songs.
(more…)
Tags: promise, spotify
Posted in Annunci | Comments Off on Falling Stars: find one-hit wonders on Spotify
Sunday, August 10th, 2014
Service Workers are cool, a new technology that give you the power to write a proxy in Javascript that sits on your browser between the document and the server.
(more…)
Tags: html5, serviceworker
Posted in Approfondimenti | Comments Off on A wiki engine in 40LOC with Service Workers
Sunday, May 4th, 2014
A friend of mine recently asked if I can create an animation out of this nice example; the first thing I did was wrap the render function around a requestAnimationFrame and add a random speed factor to all the vertices at every iteration.
(more…)
Tags: delaunay, javascript, performances
Posted in Algoritmi | Comments Off on How to render a dynamic animated Delaunay triangulation
Saturday, March 1st, 2014
Angular.js does an excellent job on preventing a form submission when invalid but only if the action attribute is not present, otherwise we have to implement a few tricks to achieve the same behaviour.
(more…)
Tags: angular.js, submit
Posted in Algoritmi, Librerie | Comments Off on Angular.js prevent an invalid form submission
Tuesday, February 11th, 2014
During my last workshop with Gabriele Lana I’ve started a nice conversation with Fabio Fabbrucci on how to recreate the perfect overlay effect using as less JavaScript as possible.
(more…)
Tags: css3, overlay
Posted in Interfaccie | Comments Off on A pure CSS3 driven overlay
Sunday, September 22nd, 2013
Recently I’ve been dealing with a page containing a stripe pattern as following:
(more…)
Posted in Interfaccie | Comments Off on Dealing with stripe patterns and scrolling