Skip to main content

Search

Items tagged with: lua


Managed to add support for varvara's color nibble to my chr loader.

#Lua #LOVE

#lua #love


Reading .chr and .theme files made with Nasu via LOVE.

#Lua #Uxn

#uxn #lua


"Lua is super cool. Lua is great."

-- The Primeagen while being interviewed by @BrodieOnLinux

#Lua #vim #neovim #programming

https://invidious.einfachzocken.eu/watch?v=9SQXv8GFVLM


know it's not a fair comparison, but relative to JavaScript, I thoroughly appreciate that Lua moves slowly as a language. Severely reduces maintenance burden and it's more conducive to longer-applicable content (especially important in the context of learning).

The philosophy is probably best summarized by Roberto's talk, How Much Does It Cost

https://youtu.be/gXdS3IftP0Y

#javascript #lua



so i set out to write what i thought was a fairly simple probability curve.

i though i needed some trig function, i typed some reference points into a graphing calculator, and started looking for a function that matched...

after a lot of finding nothing that was even close, i found an exact match for all my reference points...

after rewriting it in lua, i finally had it:

`-(2^(-absn)-1)/2*n/absn+0.5`

why is this so complicated...

#programming #gamedev #lua

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.