What language should I use?
oops you made a mistake
it is not super easy to port from ka code to replit code, ka has a really really different programming environment.
also maybe consider learning p5.js https://p5js.org
and also perhaps learning real js too.