Skip to content

Instantly share code, notes, and snippets.

View lostintangent's full-sized avatar

Jonathan Carter lostintangent

  • GitHub Staff
  • Seattle, WA
  • 13:45 (UTC -07:00)
  • X @lostintangent
View GitHub Profile
@lostintangent
lostintangent / README.md
Last active February 20, 2025 20:18 — forked from simzou/README.md
US Map of Nielsen Media Markets
@lostintangent
lostintangent / codeswing.json
Last active August 21, 2023 08:39
Happy Birthday JavaScript!
{
"scripts": [
"react",
"react-dom"
],
"styles": []
}
@lostintangent
lostintangent / index.html
Created November 28, 2020 04:42
ScrollTrigger Underwater world #anydayshaders 15
<digital-art dpr="auto" aria-hidden="true">
<script type="buffer" name="position" data-size="2">
[-1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, 1]
</script>
<script type="vert">
precision highp float;
uniform float time;
uniform vec2 resolution;
varying vec4 vPos;
attribute vec4 position;
@lostintangent
lostintangent / index.html
Last active August 21, 2023 08:28
Stick Hero with Canvas
<div class="container">
<div id="score"></div>
<canvas id="game" width="375" height="375"></canvas>
<div id="introduction">Hold down the mouse to stretch out a stick</div>
<div id="perfect">DOUBLE SCORE</div>
<button id="restart">RESTART</button>
</div>
<a id="youtube" href="https://youtu.be/eue3UdFvwPo" target="_blank">
<span>See how this game was made</span>
@lostintangent
lostintangent / README.md
Last active February 28, 2025 14:45
ClojureFam [Archived]
@lostintangent
lostintangent / index.pug
Last active August 21, 2023 08:20
Only CSS: Summer Dream
.summerdream
.sea
.surface
//- .inner
//- .fishes
//- .fish
//- .body
.ship
.rotate
.move
@lostintangent
lostintangent / main.tour
Created May 22, 2020 23:42
Demo Tour [Archived]
{
"title": "Status Bar",
"description": "Describes how we augment the status bar",
"steps": [
{
"file": "src/extension.ts",
"line": 36,
"description": "### Activation\nThe status bar provider is registered upon extension activiation",
"selection": {
"start": {
@lostintangent
lostintangent / index.html
Last active February 27, 2024 20:24
ZzFX Sound Board - Zuper Zmall Zeeded Zound Zynth
<body bgcolor=#223><center>
<div style=font-size:45px><b>ℤ𝕫𝔽𝕏 - Zuper Zmall Zound Zynth</b></div>
<div style=font-size:20px><i>A tiny tool for creating and playing sound effects with JavaScript</i></div>
<div style=max-width:799px>
<div style=font-size:20px>
<input id=volume type=range min=0 max=1 step=.01 oninput='zzfxV=volume.value;volumeText.innerHTML=volume.value*100|0'></input>
Volume <span id=volumeText>30</span> %
</div>
<button onClick=zzfx(...[,,1675,,.06,.24,1,1.82,,,837,.06])>💰</button>
<button onClick=zzfx(...[,,925,.04,.3,.6,1,.3,,6.27,-184,.09,.17])>🥊</button>

Flower Timeline

Calling it flower chain would actually be appropriate. Experiment with SVG syntax and anime.js to chain a series of animation.

I'm still uncertain as to how anime.js converts the coordinates to pixel values, but it seems to work.

A Pen by Gabriele Corti on CodePen.

License.