osu!Lazer Style Interactive Cursor With JavaScript

Category: Javascript | June 21, 2022
Author:solstice23
Views Total:227 views
Official Page:Go to website
Last Update:June 21, 2022
License:MIT

Preview:

osu!Lazer Style Interactive Cursor With JavaScript

Description:

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