Skip to content

LongpanZhou/LongpanZhou.github.io

Repository files navigation

Welcome to my personal website!

Hi! This website is built with React + TypeScript + Vite, and being currently worked on.

You can find the code for the metaball background in here. Metaball

Usage:

React.js, TypeScript, JavaScript

import  './metaball.js';

HTML

<script src="metaball.js"/>

You can find the code for cute animal cursor in here AnimalClicks

Usage:

React.js, TypeScript, JavaScript

  1. Import Library (You might need to add @ts-ignore)
//@ts-ignore
import  AnimalClicks  from  './index.js';
  1. Define class
new AnimalClicks(['🦝'],
    2000, 1, 180, 2.5, 4.5, 0.075, 10, 10,
    {
    random: false,
    physics: true,
    fade: true,
    hideCursor: true
	},
	'24px'
);

HTML 3. Define class in index.js first

new AnimalClicks(['🦝'],
    2000, 1, 180, 2.5, 4.5, 0.075, 10, 10,
    {
    random: false,
    physics: true,
    fade: true,
    hideCursor: true
	},
	'24px'
);
  1. Embed JavaScript
<script src="index.js"/>

Project Page

Currently under development for this page :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published