A Pen by seth kontny on CodePen.
An expression of rotating shiny diamond.Those triangle shapes are made from SVG Polygon. I found SVG has a lot of potential for the 3D vector expression. Hope FF will work for it soon.
A Pen by seth kontny on CodePen.
A social experiment based on Twitter API. Got inspired by 500 Chrome Experiments. Used basic physics (spring/ease and friction). No libs needed. Hover the particles to change the tweet.
A Pen by seth kontny on CodePen.
A Pen by seth kontny on CodePen.
A type carousel perfect for a value prop!
See http://schier.co/post/simple-vanilla-javascript-typing-carousel
Forking @tylersnyder
A Pen by seth kontny on CodePen.
From http://lsc.org/see-whats-happening/upcoming-exhibitions/cube/ I wish I could go to!
Direct-link: http://lsc.org/wp-content/uploads/2013/08/groovkis-header-678wide.gif This only looks half decent because there's no lines, need to learn more 3D.
A Pen by seth kontny on CodePen.
$ easy_install shodan | |
# or easy_install -U shodan | |
# or pip install shodan |
function fibonacci (upto) { | |
if(upto.length == 0) { | |
console.log("Usage: fibonacci <upto>."); | |
} else { | |
var first = 0, second = 1, sum; | |
var fibonacci_string = ""; | |
fibonacci_string += (first + " " + second); | |
for (var counter = 0; counter < (upto - 2); counter++) { | |
sum = first + second; | |
fibonacci_string += (" " + sum); |
public class Solution { | |
public int canCompleteCircuit(int[] gas, int[] cost) { | |
size = gas.length; | |
if (size == 0) return -1; | |
int src = 0, dest = 0, balance = 0; | |
while (true) { | |
if (balance + gas[dest] - cost[dest] >= 0) { | |
balance += gas[dest] - cost[dest]; | |
dest = next(dest); | |
if (dest == src) return src; |
function fibonacci (upto) { | |
if(upto.length === 0) { | |
console.log("Usage: fibonacci <upto>."); | |
} else { | |
var first = 0, second = 1, sum; | |
var fibonacci_string = ""; | |
fibonacci_string += (first + " " + second); | |
for (var counter = 0; counter < (upto - 2); counter++) { | |
sum = first + second; | |
fibonacci_string += (" " + sum); |