Skip to content

Instantly share code, notes, and snippets.

View EmilienDupont's full-sized avatar

Emilien Dupont EmilienDupont

View GitHub Profile
@EmilienDupont
EmilienDupont / README.md
Last active September 12, 2020 18:44
mnist chicken code

Code for mnist chicken experiments. Note that this code was written a long time ago and is not maintained.

@EmilienDupont
EmilienDupont / versor.js
Last active January 22, 2019 18:38
Earthquake globe data
// Version 0.0.0. Copyright 2017 Mike Bostock.
(function(global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.versor = factory());
}(this, (function() {'use strict';
var acos = Math.acos,
asin = Math.asin,
atan2 = Math.atan2,
@EmilienDupont
EmilienDupont / japan.geojson
Created January 18, 2019 15:31
Japan earthquakes viz files
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@EmilienDupont
EmilienDupont / LICENSE
Last active April 26, 2022 10:59
Rosenbrock Function
The MIT License (MIT)
Copyright (c) 2016 Emilien Dupont
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@EmilienDupont
EmilienDupont / LICENSE
Last active January 1, 2018 19:41
Rastrigin-type Function
The MIT License (MIT)
Copyright (c) 2016 Emilien Dupont
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

Mind

Trying to draw the contrast between a stressed and relaxed mind in d3.

@EmilienDupont
EmilienDupont / README.md
Last active November 12, 2017 02:29
Random Walk in 3D

Random Walk in 3D

Visualization to illustrate the crazy fact that a random walk on the integer lattice in dimension d <= 2 will return to its starting point with probability 1 whereas a random walk in dimension d >= 3 has a finite probability of never returning. Or in other words:

"A drunk man will find his way home, but a drunk bird may get lost forever." - Shizuo Kakutani

Click here for a random walk in 2D.

For a cool proof of this theorem using Fourier analysis check e.g. the Fourier Transform and its Applications.

@EmilienDupont
EmilienDupont / README.md
Last active February 10, 2021 23:55
Random Walk in 2D

Random Walk in 2D

Visualization to illustrate the crazy fact that a random walk on the integer lattice in dimension d <= 2 will return to its starting point with probability 1 whereas a random walk in dimension d >= 3 has a finite probability of never returning. Or in other words:

"A drunk man will find his way home, but a drunk bird may get lost forever." - Shizuo Kakutani

Click here for a random walk in 3D.

For a cool proof of this theorem using Fourier analysis check e.g. the Fourier Transform and its Applications.

@EmilienDupont
EmilienDupont / README.md
Last active June 5, 2016 12:49
Dragonfly Morphing
@EmilienDupont
EmilienDupont / README.md
Last active June 6, 2016 15:48
Infinite Relaxing Spinny Lines