Skip to content

A point cloud scroll-controlled animation built with cables.gl for my portfolio website.

Notifications You must be signed in to change notification settings

quentin-mckay/point-cloud-text-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Point Cloud Text Scroll Effect

site screenshot

A point cloud text scroll effect created for my portfolio site with cables.gl.

Text texture is randomly sampled to create an array of points.

Animation on page load drives interpolation between that array and 2nd array of random 3D points (which has a sine function with modulating phase applied).

window.pageYOffset is then used to transform the viewmatrix in Y axis and drive interpolation to a 3rd array of random points (to spread them back out)

Point opacity is controlled by sampling a perlin noise texture (for the sparkle effect).

Click here to view portfolio site

patch screenshot

Note: patch.js is the JS file for embedding into a webpage. It's not meant to viewed raw.

Click here to view original patch. Right-click to reset 1st animation. Scroll down to drive the 2nd animation.

Issues

  1. Scrolling with a trackpad seems to freeze the animation until released. Not sure why.
  2. Performs very poorly on less powerful machines and I haven't implemented any accomodation or fallback for that scenario.

About

A point cloud scroll-controlled animation built with cables.gl for my portfolio website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published