Hakim El Hattab / hakim.se

JAVASCRIPT

THE FUN PARTS

ABOUT ME

  • Frontend
  • Startups
  • Slides
  • Personal projects
  • Open source

slides.com/hakim/jth/LIVE

CANVAS

DRAWING Basics

var canvas = document.querySelector( 'canvas' );
var context = canvas.getContext( '2d' );

canvas.width = 200;
canvas.height = 200;

context.fillStyle = 'red';
context.fillRect( 100, 100, 10, 10 );

Animation Basics

var canvas = document.querySelector( 'canvas' );
var context = canvas.getContext( '2d' );

canvas.width = 200;
canvas.height = 200;
context.fillStyle = 'red';

var x = 0;

setInterval( function() {
    x = ++x % 200;

    context.clearRect( 0, 0, 200, 200 );
    context.fillRect( x, 100, 10, 10 );
}, 1000 / 60 );

TRAIL

BLOB

Keylight

Sinuous

10k Apart

Constraints

INSPIRATION

EXPECTATIONS

UI

ScROLL FX

MENY

LADDA

Progress Nav

FLIPSIDE

JAVASCRIPT

Why side projects?

THANKS!

hakim.se

@hakimel

TIme left?

CHECKWAVE

FOKUS

KONTEXT

HYPNOS

JavaScript: The Fun Parts @ JTH 2018

By Hakim El Hattab

JavaScript: The Fun Parts @ JTH 2018

JavaScript is an incredibly versatile language. In this presentation I'll show you what I think are the most fun parts and hopefully inspire you to explore the more visual sides of scripting. Lots of demos, very little code.

  • 765
Loading comments...

More from Hakim El Hattab