Socket
Book a DemoInstallSign in
Socket

@quenty/acceltween

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quenty/acceltween

AccelTween implementation for Roblox

2.5.3
latest
Source
npmnpm
Version published
Weekly downloads
591
4446.15%
Maintainers
1
Weekly downloads
 
Created
Source

AccelTween

Documentation status Discord Build and release status

Provides a means to, with both a continuous position and velocity, accelerate from its current position to a target position in minimum time given a maximum acceleration.

Installation

npm install @quenty/acceltween --save

API

AccelTween = AccelTween.new(number maxaccel = 1) maxaccel is the maximum acceleration applied to reach its target.

number AccelTween.p Returns the current position. number AccelTween.v Returns the current velocity. number AccelTween.a Returns the maximum acceleration. number AccelTween.t Returns the target position. number AccelTween.rtime Returns the remaining time before the AccelTween attains the target.

AccelTween.p = number Sets the current position. AccelTween.v = number Sets the current velocity. AccelTween.a = number Sets the maximum acceleration. AccelTween.t = number Sets the target position. AccelTween.pt = number Sets the current and target position, and sets the velocity to 0.

Keywords

Roblox

FAQs

Package last updated on 10 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.