Comments on Profile Post by Jonforum

  1. Jonforum
    Jonforum
    Jump each 4 line!
    for (let i = 0, l = 20; i < l; i++) {
    if(!(~i%~5)){
    // lineJump++
    };
    };
    Apr 7, 2018
    Kvothe and Guiguimu like this.
  2. Kvothe
    Kvothe
    I like to create "math experiments". Mostly math forms to access different things more fast (heuristic)
    Apr 7, 2018
    Jonforum likes this.
  3. Jonforum
    Jonforum
    @Kvothe
    I'm never successful to finding the perfect formula on the web.

    The idea was to have an iteration that does not cause a problem with a loop that starts with 0, and to have a number that indicates the line Jump, without subtract (i) with modulus.

    https://images2.imgbox.com/8b/6c/KBMztKNe_o.png
    Result: white perfect square inline with math..
    Apr 7, 2018
    Kvothe likes this.
  4. Jonforum
    Jonforum
    My original math code for jump each element 5 in a loop was.

    if( !((i+1)%6))

    This code has been tiring me for a long time.
    Apr 7, 2018
    Kvothe likes this.
  5. Kvothe
    Kvothe
    Sometime spending a time doing or searching for formula like this, break a good time on future
    Apr 8, 2018
    Jonforum likes this.