Skip to content

Instantly share code, notes, and snippets.

@toybreaker
toybreaker / index.html
Created May 12, 2025 16:26
untitled.brian
<!--
Sections animate in and out on scroll. Scroll up or down and the sections will wrap around after hitting the start or end. Uses GSAP for the animations.
-->
<header>
<div>Animated</div>
<div><a href="https://codepen.io/BrianCross/pen/PoWapLP">Originalhere</a></div>
</header>
<section class="first">
<div class="outer">
@toybreaker
toybreaker / don-t-flip-keep-going.markdown
Created May 12, 2025 13:58
Don't Flip, keep going!

Don't Flip, keep going!

simple flip on click with plain vanilla javascript

A Pen by rokma on CodePen.

License.

@toybreaker
toybreaker / index.html
Created May 12, 2025 08:54
TOTONTO Turtle
<div class="wrapper">
<div class="turtle">
<div class="leg"></div>
<div class="body"></div>
<div class="head"></div>
</div>
</div>
@toybreaker
toybreaker / index.html
Created July 13, 2023 05:39
Turtle Lost
<div class="wrapper">
<div class="turtle">
<div class="leg"></div>
<div class="body"></div>
<div class="head"></div>
</div>
</div>
@toybreaker
toybreaker / index.html
Created July 12, 2023 03:00
Randomized Circle Groups With Background Lines
<svg
viewBox="0 0 1000 1000"
width="1000"
height="1000"
role="img"
>
<title>
A geometric pattern composed of nested circles and squiggly lines.
Inspired by Legends of Zelda: Tears of the Kingdom
</title>
@toybreaker
toybreaker / animated-svg-turbulence-filter.markdown
Created April 22, 2023 06:11
Animated SVG Turbulence Filter
@toybreaker
toybreaker / index.html
Created April 22, 2023 04:00
SVG Turbulence Filter Test
<h1>
SVG Turbulence Filter Test
</h1>
<p id="sentence" contenteditable="true" spellcheck="false">
The <strong>feTurbulence</strong> SVG filter generates and renders <em>Perlin noise</em>. This can be used
by CSS to distort <strong>elements and text</strong>. Try selecting or editing <em>this text</em>. You can fiddle
with the sliders below to <strong>change the effect</strong>.
</p>
<div class="sliders">
@toybreaker
toybreaker / a-dry-alternative-to-dark-mode-in-css-abstracted-in-scss.markdown
Created March 23, 2021 03:13
A DRY alternative to Dark Mode in CSS, abstracted in SCSS
@toybreaker
toybreaker / gallery-image-instagram-jquery.markdown
Last active January 31, 2018 09:08
Gallery Image Instagram - jQuery
@sbycrosz
sbycrosz / app.js
Created June 16, 2014 04:42
Local image placeholder service
// Local image placeholder service
// Usage: <img src="http://localhost:9999/300/400" />
var express = require('express'),
app = express(),
gm = require('gm');
app.get('/:width/:height', function(request, response){
var width = request.params.width,
height = request.params.height,