osu!Lazer Style Interactive Cursor With JavaScript

Category: Javascript | June 21, 2022
Authorsolstice23
Last UpdateJune 21, 2022
LicenseMIT
Tags
Views1,102 views
osu!Lazer Style Interactive Cursor With JavaScript

A simple JavaScript library that applies an osu!Lazer style custom cursor to your webpage.

How to use it:

1. Import the osuCursor library.

<script src="../dist/index.umd.js" type="module"></script>

2. Initialize the osuCursor and done.

var cursor = new osuCursor();

3. Determine whether to auto-rotate the cursor based on the direction of the mouse drag. Default: true.

var cursor = new osuCursor({
    rotate: false
});

You Might Be Interested In:


Leave a Reply