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 September 18, 2020 16:56
Yet another Mandelbrot fractal
<canvas></canvas>
@Sphinxxxx
Sphinxxxx / canny-edge-detection-with-jsfeat.markdown
Created January 29, 2021 11:29
Canny edge detection with jsfeat
@Sphinxxxx
Sphinxxxx / canny-edge-detection-with-jsfeat.markdown
Created January 30, 2021 16:33
Canny edge detection with jsfeat
@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/[email protected]/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 / 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/[email protected]/build/dat.gui.js"></script>
<script src="//unpkg.com/drag-tracker@1"></script>
<script src="//unpkg.com/[email protected]/build/jsfeat.js"></script>
<script src="//unpkg.com/kdbush@3"></script>
<script>
/*
tuple by Ry-♦
@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/[email protected]/build/dat.gui.js"></script>
<script src="//unpkg.com/drag-tracker@1"></script>
<script src="//unpkg.com/[email protected]/build/jsfeat.js"></script>
<script src="//unpkg.com/kdbush@3"></script>
<script>
/*
tuple by Ry-♦
@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 23, 2022 21:17
SVG path editor
<script>console.clear();</script>
<script src="https://unpkg.com/vue@2"></script>
<script src="https://unpkg.com/[email protected]/dist/vueDraggableNumber.umd.min.js"></script>
<script src="https://unpkg.com/drag-tracker@1"></script>
<script src="https://unpkg.com/@sphinxxxx/[email protected]"></script>
<script src="https://unpkg.com/d-path-parser@1"></script>
<main id="app">