### GNU GPL Terminal Startup Notice Template Source: https://github.com/semitable/easing-functions/blob/master/LICENCE.md Template for a short notice to be displayed by command-line programs upon startup in interactive mode, informing users about the program's warranty status and redistribution terms under the GNU GPL. It includes placeholders for project name, year, and author. ```Text {project} Copyright (C) {year} {fullname}\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `show c' for details. ``` -------------------------------- ### Install easing-functions library Source: https://github.com/semitable/easing-functions/blob/master/README.md Instructions to install the easing-functions Python library using pip. ```shell pip install easing-functions ``` -------------------------------- ### GNU GPL License Header Template for Source Files Source: https://github.com/semitable/easing-functions/blob/master/LICENCE.md Template for adding the GNU General Public License (GPL) notice to the beginning of source code files. It includes placeholders for program name, year, and author, along with the standard GPL distribution terms, warranty disclaimer, and a reference to the full license text. ```Text {one line to give the program's name and a brief idea of what it does.}\nCopyright (C) {year} {name of author}\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see . ``` -------------------------------- ### Basic usage of easing functions Source: https://github.com/semitable/easing-functions/blob/master/README.md Demonstrates how to import and use an easing function (QuadEaseInOut) to calculate an eased value over a specified duration. It shows both direct method call and object call for convenience. ```python from easing_functions import * # For a duration 10 you will get the relevant output from start to end a = QuadEaseInOut(start=0, end = 3, duration = 10) k = a.ease(4) # 4 is a number between 0 and the duration you specified #k is the returned value from start to end (0 to 3) k2 = a(4) # the ease object can also be called directly, like a function ``` -------------------------------- ### Plotting easing functions with Matplotlib Source: https://github.com/semitable/easing-functions/blob/master/README.md Illustrates how to use numpy and matplotlib to visualize different easing functions (BounceEaseInOut, BounceEaseIn, BounceEaseOut) over a range of values, providing a visual representation of their curves. ```python import numpy as np import matplotlib.pyplot as plt a = BounceEaseInOut(start=3, end=1, duration=1) b = BounceEaseIn(start=0, end=1) c = BounceEaseOut(start=0, end=1) x = np.arange(0, 1, 0.001) y0 = list(map(a, x)) y1 = list(map(b, x)) y2 = list(map(c, x)) plt.plot(x,y0) plt.plot(x,y1) plt.plot(x,y2) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.