Skip to content

Instantly share code, notes, and snippets.

View elykahn's full-sized avatar
🌀
Mindful Redesign, WIP

Ely Kahn elykahn

🌀
Mindful Redesign, WIP
View GitHub Profile
@elykahn
elykahn / index.html
Created October 2, 2023 22:37 — forked from tylshe/index.html
A CodePen by Adam. Fluid Simulation - Javascript fluid simulation on canvas.
<canvas id= "c"> </canvas>
<button id="reset">new colours</button>
<div id="info">
<div id="top">
<a target="_blank" id="site" href="http://lonely-pixel.com">my website</a>
<a id="close" href="">close</a>
</div>
<p>
<br>
- Alter particles/groups with the GROUPS variable.<br><br>
@elykahn
elykahn / about.md
Created January 4, 2020 07:22 — forked from mattdesl/about.md
png + svg export with canvas-sketch and context 2D

PNG + SVG export from canvas-sketch

The helper function canvas-to-svg.js wraps a given render function (or renderer object) so that you can use Canvas2D context methods as usual, but upon single frame export (with Cmd/Ctrl + S) it will produce both a PNG and SVG file.

This uses canvas2svg which is not a perfect solution, as the Canvas2D API was never designed to be translated to SVG. Its best to stick with simple shape and path operations.

Full instructions: first install the canvas-sketch CLI if you haven't already:

npm install canvas-sketch-cli -g
@elykahn
elykahn / license-badges.md
Created November 13, 2016 12:42 — forked from lukas-h/license-badges.md
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file. Easily copy and paste the code under the badges into your Markdown files.

Notes

  • Badges are made with Shields.io.
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Want to add a License?

Comment this gist or write me an E-Mail ([email protected])

@elykahn
elykahn / index.html
Last active December 29, 2015 18:02
MKbvEX
#particle-canvas
h2 teeesy
@elykahn
elykahn / Flexbox Calendar Example.markdown
Created June 16, 2015 18:11
Flexbox Calendar Example
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->