Co-founder of Croquet.io • Chief Architect Multisynq.io • Creator of Squeak.JS.org • Formerly at Alan Kay’s groups (VPRI.org, CDG Labs, YCR HARC) • Dr (EngD) • German living in Los Angeles 🏳️🌈
The symptom was that the output looked red and white 🔴⚪️ when it was supposed to be rainbowey 🌈
The symptom was that the output looked red and white 🔴⚪️ when it was supposed to be rainbowey 🌈
was a lulu.”
— Ivan Sutherland (1963!), “Sketchpad,” pg. 76
was a lulu.”
— Ivan Sutherland (1963!), “Sketchpad,” pg. 76
(I didn’t want to use object-fit because it distorts JS event positions)
Try it here (resize the window or turn your phone) codefrau.github.io/Smalltalk78/...
(I didn’t want to use object-fit because it distorts JS event positions)
Try it here (resize the window or turn your phone) codefrau.github.io/Smalltalk78/...
dmgs.findIndex(dmg => (shld -= dmg) < 0)
👸🏻🛡️🔥🔥🔥🐉
codepen.io/codefrau/pen...
dmgs.findIndex(dmg => (shld -= dmg) < 0)
👸🏻🛡️🔥🔥🔥🐉
codepen.io/codefrau/pen...
function evaluatePostfix(s) {
let a = []
for (let c of s)
a.push(isNaN(+c) ? eval(a.splice(-2).join(c)) : c);
return a.pop()
}
My CodePen does the infix conversion first and evals at the end:
codepen.io/codefrau/pen...
function evaluatePostfix(s) {
let a = []
for (let c of s)
a.push(isNaN(+c) ? eval(a.splice(-2).join(c)) : c);
return a.pop()
}
My CodePen does the infix conversion first and evals at the end:
codepen.io/codefrau/pen...