dodopod's public fiddles
-
vrcf948z
No-Library (pure JS), HTML, CSS, JavaScript
-
Generic manager
No-Library (pure JS), HTML, CSS, JavaScript
-
Mixins and Traits
No-Library (pure JS), HTML, CSS, JavaScript
-
Vh7TQ
Raphael 2.1.0, HTML, CSS, JavaScript
-
Load a script
callback on load
-
Eloquent JavaScript Functional Programming
https://eloquentjavascript.net/chapter6.html Example 6.3: Build a function splitParagraph which, given a paragraph string, returns an array of paragraph fragments. Think of a good way to represent the fragments. The method indexOf, which searches for a character or sub-string in a string and returns its position, or -1 if not found, will probably be useful in some way here. This is a tricky algorithm, and there are many not-quite-correct or way-too-long ways to describe it. If you run into problems, just think about it for a minute. Try to write inner functions that perform the smaller actions that make up the algorithm.
-
Barycentric combination
jQuery Compat (edge), HTML, CSS, JavaScript
-
Site Browsing Prototype 1
jQuery 1.9.1, HTML, CSS, JavaScript
-
Snow Effect
An effect of falling snow
-
Cb9F7
Mootools 1.4.5, HTML, CSS, JavaScript
-
Starfield
Starfield with stars of variable brightness
-
Bloom Effect
No-Library (pure JS), HTML, CSS, JavaScript
-
Palettize
Converts a grayscale image to a custom palette.
-
Perlin Noise
No-Library (pure JS), HTML, CSS, JavaScript
-
White Noise
No-Library (pure JS), HTML, CSS, JavaScript
-
Canvas Skeleton
No-Library (pure JS), HTML, CSS, JavaScript