/libraries

Libraries for common functionalities of my other repositories

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Libraries

Sonarcloud Status CI contributions welcome semistandard ECMAScript license

Libraries for common functionalities of my other repositories.

Usage

<script src="https://berkerol.github.io/libraries/canvas.js"></script>
<script src="https://berkerol.github.io/libraries/form.js"></script>
<script src="https://berkerol.github.io/libraries/sky.js"></script>
<script src="https://berkerol.github.io/libraries/market.js"></script>
<script src="https://berkerol.github.io/libraries/particle.js"></script>
<script src="https://berkerol.github.io/libraries/colors.js"></script>

Overview

  • HTML5 Canvas: canvas.js
    • Initialization
    • Pause and Resize Listeners
    • Game Loop
    • Drawing and Painting
    • Collision Detection
    • Generating Random Numbers, Colors and Character Codes
  • Bootstrap Form: form.js
    • Input Labels; Text, Number and Checkbox Inputs
    • Buttons, Button Groups and Modal Toggle Buttons
    • Dropdowns, Modals and Alerts
    • Enter Key and Reset Handlers
  • Sky: sky.js
    • Properties
    • Method for Painting
    • Resize Handler
  • Market: market.js
    • Properties
    • Methods for Updating Properties
    • Resize Handler
  • Particle: particle.js
    • Properties
    • Methods for Painting, Creating and Processing
  • Colors: colors.js
    • Dropdown for Color Selection

Continous Integration

It is setup using GitHub Actions in .github/workflows/lint.yml

Contribution

Feel free to contribute according to the semistandard rules and latest ECMAScript Specification.

Distribution

You can distribute this software freely under GNU GPL v3.0.