-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
29 lines (23 loc) · 956 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
asciifire
---------
Copyright 2009 (c) Papadopoulos Nikos <[email protected]>
About
-----
asciifire is an implementation of the classic fire effect in javascript.
It renders the flames in ascii text.
Usage
-----
To use the script in your web page:
1. Include the script in your source.
2. Place a <pre id="fire">Loading...</pre> tag where you want the effect to appear.
3. Call the ascf_setup(width, height) function to setup the effect.
4. Call the ascf_render() function to initiate the animation.
There are some functions that can be used to change the behaviour of the effect. For
more on this please consult the source code.
Palette
-------
If you choose to use a custom palette you should take into consideration that
a good palette is vital to the quality of the effect. Below are some tested
palettes that produce nice results.
1. ,;+ltgti!lI?/\\|)(1}{][rcvzjftJUOQocxfXhqwWB8&%$#@
2. .,:<cox€Ihqw?\\1[{CLPJUTOQXBFWX8634&%$#ô@©¶Æ‰