Skip to content

kstroevsky/bindfly.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bindfly.js

About the Project

Bindfly.js is a TypeScript project that focuses on creating an optimization canvas-based animations. This project is designed to handle multiple parameters dynamically to control the animation. It uses various strategies for performance optimization. You can try it here.

Technical Details

The project uses modern web technologies including React, WebGL, three.js, and WebWorkers API to manage and display animations efficiently. The use of TypeScript ensures type safety and enhances code maintainability. It employs a combination of both 2D and WebGL animations to provide a visually appealing experience.

Significant technical components include:

  • WebGL and Canvas Integration: Leveraging WebGL for rendering complex 2D and 3D graphics.
  • three.js: Several test animations based on three.js library.
  • Web Workers and OffScreen: Utilizing web workers to handle offscreen-provided intensive calculations off the main thread, ensuring smooth UI interactions.
  • React and Router Integration: Employing React for UI components along with React Router for app navigation.
  • Custom Hooks: Implementing custom React hooks to manage canvas context, resizing, and re-rendering based on interactions and animations.

How to Run

First, clone the repository and install the dependencies:

git clone https://github.com/kstroevsky/bindfly.js.git
cd bindfly.js

Secondly, install the dependencies and build the project.

npm install
npm run build

Then you need to run the project. For the production mode you need to use start command. Development mode has the its own run-script (start:dev).

npm run start

Example

Screen.Recording.2024-05-15.at.13.28.27.mov

About

An optimised canvas beautiful something with multiple parameters. A library and a web-socket based game in future.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors