csavas
csavas
142 / 12
29th Aug 2018
2nd Sep 2018
Uses look-up table, doesnt calculates. Only positive integers as input. The result is always 6 digit, and the decimal point can go to 3 place. Use the smallest size when sparking buttons. UPDATE 4: Simple deco for the "Error" thing. Added link to Johnny.
calculator lookuptable fast electronic squareroot sqrt filt

Comments

  • csavas
    csavas
    30th Aug 2018
    @xXMirrodinXx (part 2) replace 3. line with "local arr = { the content of a.txt file, make sure that there is no "," at the beginning and at the end }", in the 5. and 6. line replace positions (corners of rect) to make the image at the location you want, make sure that the width and height is the same as your a.jpg's widht and height. Open powder toy, open console, and tpye "dofile("asd.lua")".
  • csavas
    csavas
    30th Aug 2018
    @xXMirrodinXx Install processing, new sketch,paste pastebin.com/RjsX8TwN, ctrl-k,put your a.jpg there, run the program, it should create a a.txt file. Go to the folder of powder toy, save pastebin.com/hrCH7PyL as "asd.lua", COMMENT TOO LONG!!! part 2 as other comment
  • xXMirrodinXx
    xXMirrodinXx
    30th Aug 2018
    @csavas i downloaded the lua code
  • xXMirrodinXx
    xXMirrodinXx
    30th Aug 2018
    the code or the lua code
  • xXMirrodinXx
    xXMirrodinXx
    30th Aug 2018
    @csavas how :D
  • csavas
    csavas
    30th Aug 2018
    @xXMirrodinXx Download it first.
  • xXMirrodinXx
    xXMirrodinXx
    30th Aug 2018
    @csavas i don't realy know how to run a script as a link
  • csavas
    csavas
    30th Aug 2018
    @xXMirrodinXx Processing 3 code: https://pastebin.com/RjsX8TwN Lua code: https://pastebin.com/hrCH7PyL Just, dont ask me how to use it.
  • csavas
    csavas
    30th Aug 2018
    @PortalPlayer I said that I forgot to round the numbers. BUT now I fixed it. UPDATE: All numbers are rounded.
  • xXMirrodinXx
    xXMirrodinXx
    30th Aug 2018
    i mean can i have the script link for the photo XD