minus-squaresimbico@lemmy.ziptoProgramming@programming.dev•Help with html5 canvas performancelinkfedilinkarrow-up8·4 months agoUse requestAnimationFrame for the drawing loop. Dont instantiate new objects unless needed linkfedilink
minus-squaresimbico@lemmy.ziptoaww@lemmy.world•Can I has a foodlinkfedilinkEnglisharrow-up2·5 months agoClearly starving ☹️ linkfedilink
minus-squaresimbico@lemmy.ziptoShowerthoughts@lemmy.world•"aaa" letters on t-shirt can be advertised and sold as mirrored number of the beast.linkfedilinkarrow-up4·1 year agoNo, officer, it’s “hi, how are you?” linkfedilink
minus-squaresimbico@lemmy.ziptoProgramming@programming.dev•research!rsc: The xz attack shell scriptlinkfedilinkarrow-up2·1 year agoWow, this is some hardcore bash black magic. linkfedilink
minus-squaresimbico@lemmy.ziptoProgramming@programming.dev•Useful JavaScript Array Methodslinkfedilinkarrow-up1·1 year agoSome other useful stuff: toSorted, toReversed, splice, destructuring, spreading. Last two are not methods but very useful when working with arrays linkfedilink
Use requestAnimationFrame for the drawing loop. Dont instantiate new objects unless needed