Simulate Ascii art animations througgh your browsers URL field. Supported Browsers are: Chrome, Opera GX, Firefox (Dont try Safari)
Screen.Recording.2022-12-26.at.12.20.30.PM.mov
Have ASCII art that you want to share? Follow these steps and your art will be uploaded in no time:
- Create a seperate branch using
git checkout -b [branch-name]
- Create a unique file name which reflects your ascii animation in the
src/animations
directory - Implement the Animation by implementing the
BaseAnimation
interface, you can find it atsrc/animations/base.ts
. More info about theBaseAnimation
interface can be found in thesrc/animations/base.ts
file. - All animation data related to your ASCII Art must be encapsulated within the Animation Object you implement. As long as the interface is implemented, the way in which you create the frames for your animations do not matter, so you have complete freedome in that department.
- In the
src/animations/exports.ts
import your Animation Object and add it to theexports
with the other animations like this:
import YourAnimation from './yourAnimation.ts'
...
const ANIMATIONS: Record<string, BaseAnimation> = {
...,
YourAnimation : YourAnimation
}
export default ANIMATIONS;
- Create a PR with a small description about the animation (ideally a gif illustrating the animation in action)