some fine tuning

This commit is contained in:
Christian Kroll 2011-03-14 15:13:02 +00:00
parent 4993fe5194
commit 67ec90ab67
1 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#include <math.h>
#include <math.h> // Floating point math is dog slow on AVR, but I don't care.
#include <stdint.h>
#include "../config.h"
#include "../pixel.h"
@ -6,8 +6,14 @@
#include "plasma.h"
#ifndef __AVR__
#define FRAME_TICK 80
#define FRAME_COUNT 750
#else
#define FRAME_TICK 1
#define FRAME_COUNT 600
#endif
#define PLASMA_X (1.0 / (NUM_COLS / (2.0 * M_PI)))