Skip to content

Instantly share code, notes, and snippets.

View Sphinxxxx's full-sized avatar

Andreas Borgen Sphinxxxx

View GitHub Profile
@Sphinxxxx
Sphinxxxx / index.html
Created November 5, 2021 10:53
SVG Coffee stain
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="220" viewBox="0 0 250 220">
<defs>
<!-- https://css-tricks.com/squigglevision-in-css-and-svg/ -->
<!-- https://codepen.io/mullany/pen/MyWxxX/ -->
<filter id="squiggler">
<feTurbulence baseFrequency="0.035" numOctaves="3" />
<feDisplacementMap in="SourceGraphic" scale="12" xChannelSelector="G" />
</filter>
</defs>
@Sphinxxxx
Sphinxxxx / index.html
Created February 14, 2021 15:56
Low-poly image generator
<script>console.clear();</script>
<script src="//unpkg.com/vue@2"></script>
<script src="//unpkg.com/dat.gui@0.7.7/build/dat.gui.js"></script>
<script src="//unpkg.com/drag-tracker@1"></script>
<script src="//unpkg.com/jsfeat@0.0.8/build/jsfeat.js"></script>
<script src="//unpkg.com/kdbush@3"></script>
<script>
/*
tuple by Ry-♦
@Sphinxxxx
Sphinxxxx / index.html
Created February 5, 2021 23:32
Low-poly image generator
<script>console.clear();</script>
<script src="//unpkg.com/vue@2"></script>
<script src="//unpkg.com/dat.gui@0.7.7/build/dat.gui.js"></script>
<script src="//unpkg.com/drag-tracker@1"></script>
<script src="//unpkg.com/jsfeat@0.0.8/build/jsfeat.js"></script>
<script src="//unpkg.com/kdbush@3"></script>
<script>
/*
tuple by Ry-♦
@Sphinxxxx
Sphinxxxx / index.html
Created January 31, 2021 18:35
Low-poly image generator
<script>console.clear();</script>
<script type="text/javascript" src="https://unpkg.com/vue@2"></script>
<script type="text/javascript" src="https://unpkg.com/dat.gui@0.7.7/build/dat.gui.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/inspirit/jsfeat@master/build/jsfeat.js"></script>
<script>
/*
tuple by Ry-♦
https://stackoverflow.com/a/21839292/1869660
*/
@Sphinxxxx
Sphinxxxx / canny-edge-detection-with-jsfeat.markdown
Created January 30, 2021 16:33
Canny edge detection with jsfeat
@Sphinxxxx
Sphinxxxx / canny-edge-detection-with-jsfeat.markdown
Created January 29, 2021 11:29
Canny edge detection with jsfeat
@Sphinxxxx
Sphinxxxx / index.html
Created September 18, 2020 16:56
Yet another Mandelbrot fractal
<canvas></canvas>
@Sphinxxxx
Sphinxxxx / index.html
Created April 29, 2020 03:43
The world. Simplified.
<script>console.clear();</script>
<script src="https://unpkg.com/vue@2"></script>
<script src="https://unpkg.com/simplify-js@1"></script>
<script src="https://unpkg.com/@sphinxxxx/zoomable-svg@0.2"></script>
<header>
<h1>The world. Simplified.</h1>
</header>
<main id="app">
<label>