Skip to content

Instantly share code, notes, and snippets.

@e1blue
e1blue / index.html
Created April 13, 2018 04:11
Memory
<!-- HEADER -->
<header>
<h1>MEMORY</h1>
</header>
<!-- main SECTION -->
<section class="main">
<div class="box play"></div>
<div class="box play"></div>
@e1blue
e1blue / detect_marker.py
Last active April 30, 2018 15:00 — forked from ksasao/detect_marker.py
ZOZOSUITのマーカーのIDを読み取るコードです。公開されている画像を元に独自に解析しているので、公式ではこのように処理しているかどうかは不明です。
import numpy as np
import random
import math
import cv2
from PIL import Image
def detect_markers(im):
markers = []
# 輪郭線抽出のための二値化
im_gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
@e1blue
e1blue / 3d-rotation-image-distortion.markdown
Created May 15, 2018 15:17
3D Rotation Image Distortion
@e1blue
e1blue / index.html
Created May 15, 2018 15:19
The Rad Grad Nav!!
<nav class="nav">
<ul class="nav__list">
<li class="nav__item">
<a class="nav__link">
<div class="nav__link-content">
<span class="nav__link-num">01</span>
<div class="nav__link-title">Our Work</div>
<div class="nav__link-desc">What we've made</div>
</div>

Code challenge!

I often find myself looking for small easy coding challenges when im bored so.. i got this idea, a little generator, it's not much but maybe it can giv you a challenge on the coding highway!

A Pen by Rune Sejer Hoffmann on CodePen.

License.

@e1blue
e1blue / 3d-css-grid-mondrian-compositions.markdown
Created May 15, 2018 15:22
3D CSS Grid Mondrian Compositions

3D CSS Grid Mondrian Compositions

A simple art experiment and learning exercise using CSS grids, plus a small dash of GSAP.

A Pen by Peter Barr on CodePen.

License.

@e1blue
e1blue / index.html
Created May 15, 2018 15:26
Movie Review Slider & Popcorn Machine
<canvas id="canvas"></canvas>
<svg id="demo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 1200">
<title>Movie Review Slider and Popcorn Machine</title>
<defs>
<clipPath id="theClipPath">
<circle cx="750" cy="400" r="350" fill="#fff"/>
</clipPath>
</defs>
<circle cx="750" cy="400" r="350" fill="#fff"/>
@e1blue
e1blue / index.html
Created May 15, 2018 15:30
React Draggable List
<div id="app"></div>
<div id="click-to-start">CLICK/TAP HERE TO START</div>
<canvas id="floor-texture" width="512" height="256"></canvas>
<div id="score-left"></div>
<div id="score-right"></div>
<div id="how">Position mouse left and right over game area to control paddles / bats</div>
<div id="btn-container">
<button id="btn-go-fs" class="btn-fs" onclick="wrapperGoFullScren()">Go Fullscreen</button>
<button id="btn-exit-fs" class="btn-fs" onclick="wrapperExitFullScreen()">Exit Fullscreen</button>
</div>
@e1blue
e1blue / index.html
Created May 15, 2018 15:39
Space Invaders on DOM - (no canvas)
<main class="main">
<div id="game-screen" class="game-screen"></div>
</main>