Skip to content

Instantly share code, notes, and snippets.

View Sphinxxxx's full-sized avatar

Andreas Borgen Sphinxxxx

View GitHub Profile
@Sphinxxxx
Sphinxxxx / Bezier Curve testing.markdown
Last active April 30, 2024 09:10
Bezier Curve testing
@Sphinxxxx
Sphinxxxx / index.html
Last active March 15, 2017 00:56
SVG arc path UI
<script>
var exports = exports || {};
var module = module || {};
</script>
<script __src='http://algebra.js.org/javascripts/algebra-0.2.6.min.js'></script>
<script src='https://cdn.rawgit.com/lovasoa/linear-solve/716f0f3c22fedc90f05d42f6d8dbc6bada4e4597/gauss-jordan.js'></script>
<h2>SVG arc path</h2>
<h3>Drag the blue and green dots</h3>
@Sphinxxxx
Sphinxxxx / index.pug
Last active December 16, 2017 02:30
This is not the SVG editor you're looking for
//- Challenge (nested transforms): https://a.hrc.onl/img/mark-h.svg
//-
//- Clean (zoom out to see controls...):
//- <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
//- viewBox="0 0 336 288" height="288" width="336" >
//- <g transform="matrix(1.3333333,0,0,-1.3333333,0,288)" >
//- <g transform="scale(0.1)" style="fill:#254da3;fill-opacity:1;fill-rule:nonzero;stroke:none" >
//- <path d="M 720,0 0,0 l 0,720 90,360 -90,360 0,720 720,0 0,-2160" />
//- <path d="m 2160,0 -720,0 90,1080 -90,1080 720,0 0,-2160" />
//- <path d="m 2520,1080 -1080,1080 0,-720 -1440,0 0,-720 1440,0 0,-720 1080,1080" style="fill:#e51b2d" />
@Sphinxxxx
Sphinxxxx / awesomplete-with-labels.markdown
Created April 24, 2017 10:51
Awesomplete with labels
@Sphinxxxx
Sphinxxxx / index.html
Created July 26, 2017 13:20
Stock charts with Yahoo Finance and Highcharts
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>
<script src="//code.highcharts.com/stock/highstock.js"></script>
<script src="//code.highcharts.com/highcharts-more.js"></script>
<div id="chart1" class="chart-area" >
<div class="aspect-ratio" ></div>
<div class="chart-wrapper" >
<div class="chart" ></div>
</div>
</div>
@Sphinxxxx
Sphinxxxx / image-comparison-slider.markdown
Last active March 13, 2024 15:30
Image Comparison Slider

Image Comparison Slider

A simple and clean image comparison slider, fully responsive and touch ready made with css and jquery.

A Pen by Andreas Borgen on CodePen.

License.

@Sphinxxxx
Sphinxxxx / index.html
Created August 20, 2017 13:00
Swipeable carousel
<div id="main">
<!-- Carousel -->
<div class="carousel-main carousel-1" data-slide-index="2">
<!-- Slides -->
<div class="carousel-item" data-slide-index="0">
<img src="https://www.fillmurray.com/810/400" />
</div>
<div class="carousel-item" data-slide-index="1">
<img src="https://www.fillmurray.com/620/800" />
@Sphinxxxx
Sphinxxxx / index.pug
Last active November 7, 2017 00:51
three.js praxinoscope
#container