混沌数学之Standard模型

 

相关软件混沌数学之离散点集图形DEMO

相关代码:

class StandardEquation : public DiscreteEquation
{
public:
    StandardEquation()
    {
        m_StartX = 0.25f;
        m_StartY = 0.25f;

        m_ParamA = 1.0f;
    }

    void IterateValue(float x, float y, float& outX, float& outY) const
    {
        outX = fmodf(x + y, PI*2.0f);
        outY = fmodf(y - m_ParamA*sinf(x + y), PI*2.0f);
    }

    bool IsValidParamA() const {return true;}
};

相关截图:

 

 

posted on 2014-09-15 14:31  叶飞影  阅读(984)  评论(0编辑  收藏  举报