Skip to content

Instantly share code, notes, and snippets.

View bozzin's full-sized avatar

Matthew Bozanich bozzin

View GitHub Profile
@bozzin
bozzin / index.html
Created May 4, 2020 05:36
Text Curtains.js
<div id="page-wrap">
<!-- div that will hold our WebGL canvas -->
<!--<nav class="main-nav">
<div class="logo"><img src="" alt="" class="img-logo">AB</div>
<ul class="main-menu">
<li><a href="">HOME</a></li>
<li><a href="">ABOUT</a></li>
<li><a href="">WORKS</a></li>
<li><a href="">CONTACT</a></li>
</ul>

Hover Alpha Effect

Lately, I've seen a lot of alpha opacity text effects on the TV, web, and even on print, that I decided to make my own version.

I created this Hover Alpha Effect with mobile support.

Move your mouse or drag your finger to change the alpha opacity color of the text, and to see 3 colorful text-shadow effects.

The headline is editable, so place your cursor in the text and type anything else you'd like.

@bozzin
bozzin / custom-cursor-inverting-color.markdown
Created February 20, 2020 16:18
custom cursor inverting color

custom cursor inverting color

a custom mouse cursor cursor colors are invertet with mix-blend-mode attribute

A Pen by Uwe Chardon on CodePen.

License.

@bozzin
bozzin / index.html
Created February 10, 2020 19:57
Starfields GLShader
<!--comments in JS-->
<script id="vertexShader" type="x-shader/x-vertex">
varying vec2 v_uv;
void main() {
v_uv = uv;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.);
}
</script>
<!-- FragmentShader code here -->
<!-- // built from the tutorial https://www.youtube.com/watch?v=dhuigO4A7RY -->
@bozzin
bozzin / index.html
Last active February 11, 2020 01:20
rgbKineticSlider - Demo 1
<body class="demo-1 loading">
<main>
<div class="message">Some message for mobile (if needed).</div>
<div class="frame">
<div class="frame__title-wrap">
<h1 class="frame__title">rgbKineticSlider</h1>
<p class="frame__tagline">Demo 1</a></p>
</div>
<div class="frame__links">
<a href="https://github.com/hmongouachon/rgbKineticSlider">View this project on GitHub</a>
@bozzin
bozzin / classic-grid-repel.markdown
Created January 19, 2020 04:05
Classic Grid Repel
@bozzin
bozzin / index.html
Created January 18, 2020 03:27
Stretch
<div class="image__tl" id="tl"></div>
<div class="image__bl" id="bl"></div>
<div class="image__tr" id="tr"></div>
<div class="image__br" id="br"></div>
<div class="image__svt" id="svt">
<div class="image__inner" id="svt-inner"></div>
</div>
<div class="image__svb" id="svb">
<div class="image__inner" id="svb-inner"></div>
</div>
@bozzin
bozzin / index.pug
Created January 3, 2020 00:49
Spotlight Cursor Text Screen
.cursor
.shapes
.shape.shape-1
.shape.shape-2
.shape.shape-3
.content
h1 Hello there!
@bozzin
bozzin / css-goey-footer.markdown
Created December 31, 2019 07:56
CSS Goey footer
@bozzin
bozzin / script.js
Created December 23, 2019 09:16
Three Js "Star" System
(function() {
'use strict';
/* 'To actually be able to display anything with Three.js, we need three things:
A scene, a camera, and a renderer so we can render the scene with the camera.'
- https://threejs.org/docs/#Manual/Introduction/Creating_a_scene */
var scene, camera, renderer;
/* We need this stuff too */