Skip to content

Instantly share code, notes, and snippets.

@conofor
conofor / fluid-text-hover.markdown
Created October 29, 2022 01:29
Fluid text hover
@conofor
conofor / index.html
Created October 29, 2022 01:29
Rubber Slider
<div class="box">
<h3>Price <span>Range</span></h3>
<div class="values">
<div>$<span id="first"></span></div> - <div>$<span id="second"></span></div>
</div>
<small>
Current Range:
<div>$<span id="third"></span></div>
</small>
@conofor
conofor / index.html
Created October 29, 2022 01:28
Test Shader #1
<div class="content-canvas"></div>
<script id="vertex" type="x-shader/x-vertex">
varying vec3 v_position;
varying vec2 vUv;
void main(){
vUv = uv;
v_position = position;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
</script>
@conofor
conofor / i-swear-to-god-i-m-not-drunk.markdown
Created October 29, 2022 01:26
I swear to God I'm not drunk!

I swear to God I'm not drunk!

Playing around with mouse positions and seeing what I can do with it. This project is incomplete and is still being worked on. Feel free to reference my code to get ideas.

Word animation is temporary as I try to figure out how to get the animation to respond properly to mouse movement. Word animation code was borrowed from: https://tobiasahlin.com/moving-letters/

A Pen by Acha on CodePen.

License.

@conofor
conofor / deep-fractal-zoom-ii.markdown
Created October 29, 2022 01:25
Deep Fractal Zoom II
@conofor
conofor / index.html
Created October 29, 2022 01:23
Instancing Box & Curl Noise
<script type="x-shader/x-fragment" id="reset-velocity">
precision highp float;
void main () {
gl_FragColor = vec4(vec3(0.), 1.);
}
</script>
<script type="x-shader/x-fragment" id="reset-position">
precision highp float;
@conofor
conofor / electric-strings.markdown
Created October 29, 2022 01:21
Electric strings
@conofor
conofor / particle-text.markdown
Created October 29, 2022 01:18
Particle Text

Particle Text

Particle Text

Canvas pixel manipulation using typed arrays

Particles react to mouse movement

A Pen by Igor on CodePen.

@conofor
conofor / index.haml
Created October 29, 2022 01:16
Organism
-2.times do
.organism
-100.times do
.atom