mannnswingingtexteffect

1.1.1 • Public • Published

Swinging Text Effect

This is a simple example demonstrating how to create a swinging text effect using JavaScript. The entire functionality is contained within a single index.js file.

Description

This project showcases a basic implementation of a swinging text effect. It utilizes HTML canvas and JavaScript to create an animation where the text swings back and forth.

Usage

Ensure you have an HTML file with a element. Give this element an id, for example: id="canvas". Link the index.js file to your HTML file. When the page loads, the JavaScript code will automatically execute and create the swinging text effect.

Example

The provided code animates the text "Swinging Text" swinging horizontally on the canvas.

Contributing

Contributions are welcome. If you have suggestions or improvements, feel free to open an issue or submit a pull request.

Acknowledgements

This project was created as a simple demonstration of creating animation effects using HTML canvas and JavaScript.

Package Sidebar

Install

npm i mannnswingingtexteffect

Weekly Downloads

2

Version

1.1.1

License

Apache-2.0

Unpacked Size

14.3 kB

Total Files

3

Last publish

Collaborators

  • mannn30