<commit_before>#include <map>
#include <vector>

#include "GrayScott.h"
#include "Drawer.h"
#include "Util.h"

// #define GRAY_SCOTT_SPEED_MULTIPLIER 100
#define NUM_INIT_ISLANDS 5
#define ISLAND_SIZE 20

GrayScottDrawer::GrayScottDrawer(int width, int height, int palSize, Camera* camera)
: Drawer("GrayScott", width, height, palSize), m_colorIndex(0), m_camera(camera) {
    m_settings.insert(make_pair("speed",50));
    m_settings.insert(make_pair("colorSpeed",0));
    m_settings.insert(make_pair("zoom",70));
    m_settingsRanges.insert(make_pair("speed", make_pair(0,100)));
    m_settingsRanges.insert(make_pair("colorSpeed", make_pair(0,50)));
    m_settingsRanges.insert(make_pair("zoom", make_pair(30,100)));

    m_F = 0.008;
    m_k = 0.031;
    m_du = 0.0385;
    m_dv = 0.008;
    m_dx = 1;//0.009766;
    m_dt = 1; //0.1;
    m_frameInterval = 8;
    m_rxn = 0.6;

    m_u = new float[m_width * m_height * 2];<commit_msg>use nice default gray scott params<commit_after>#include <map>
#include <vector>

#include "GrayScott.h"
#include "Drawer.h"
#include "Util.h"

// #define GRAY_SCOTT_SPEED_MULTIPLIER 100
#define NUM_INIT_ISLANDS 1
#define ISLAND_SIZE 20

GrayScottDrawer::GrayScottDrawer(int width, int height, int palSize, Camera* camera)
: Drawer("GrayScott", width, height, palSize), m_colorIndex(0), m_camera(camera) {
    m_settings.insert(make_pair("speed",50));
    m_settings.insert(make_pair("colorSpeed",0));
    m_settings.insert(make_pair("zoom",70));
    m_settingsRanges.insert(make_pair("speed", make_pair(0,100)));
    m_settingsRanges.insert(make_pair("colorSpeed", make_pair(0,50)));
    m_settingsRanges.insert(make_pair("zoom", make_pair(30,100)));

    m_F = 0.018; //0.008;
    m_k = 0.053; //0.031;
    m_du = 0.08; //0.0385;
    m_dv = 0.04; //0.008;
    m_dx = 0.7;//1;
    m_dt = 1; //0.1;
    m_frameInterval = 8;
    m_rxn = 1; //0.6;

    m_u = new float[m_width * m_height * 2];
{'fraction_non_alphanumeric': 0.16242864556305137, 'fraction_numerical': 0.0633108458744162, 'mean_word_length': 4.461756373937677, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4394404', 'n_tokens_mistral': 867, 'n_tokens_neox': 765, 'n_words': 137}