Skip to content

Instantly share code, notes, and snippets.

{
"stations":[
{
"station_code":"BR01",
"station_name_tw":"動物園",
"station_name_en":"Taipei Zoo",
"line_code":"BR",
"line_name":"文湖線",
"coordinates":[
24.998197,
@ziv50109
ziv50109 / client.html
Created May 16, 2020 15:58
HTML5 Server-Sent Events
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>HTML5 Server-Sent Events Client Example</title>
</head>
<body>
@ziv50109
ziv50109 / easing.js
Last active March 24, 2019 17:02
Javascript Easing Functions. Based on https://github.com/AndrewRayCode/easing-utils
/*
Based on https://github.com/AndrewRayCode/easing-utils
Demo on http://andrewraycode.github.io/easing-utils/gh-pages/
Javascript Easing Functions
All values are from 0 to 1
*/
// No easing, no acceleration