Sin Descripción

Lucas Stadler 97a062e5dd support calling rand without arguments. %!s(int64=12) %!d(string=hace) años
..
data d50abe128d add save and load api calls. %!s(int64=12) %!d(string=hace) años
public 97a062e5dd support calling rand without arguments. %!s(int64=12) %!d(string=hace) años
.gitignore 251e2f7f87 use glmatrix library for multiplication. %!s(int64=12) %!d(string=hace) años
Makefile 251e2f7f87 use glmatrix library for multiplication. %!s(int64=12) %!d(string=hace) años
README.md 795a6dc777 bug: overwriting trixls isn't properly supported. %!s(int64=12) %!d(string=hace) años
package.json 87cf1c4caa serve everything using express. %!s(int64=12) %!d(string=hace) años
screen.png b4e2792e49 add screenshot. %!s(int64=12) %!d(string=hace) años
server.js a43bf573de allow cors requests for world and stats. %!s(int64=12) %!d(string=hace) años

README.md

pixl!

draw pixls.

what it looks like

see the whirlwind intro for a quickstart.

it's live at http://pixl.papill0n.org.

trixl!

pixl in 3 dimensions. you can even import the data from pixl.

see it live at http://pixl.papill0n.org/3.

// quick start (type the following in the console):
trixl.generate.fun()

todo

  • code sharing (especially for worlds created and dynamics, but also for libraries/modules that could be shared)
  • multiplayer backend as for pixl
  • live-editing from a built-in editor (similar to firefox' scratchpad, but on the page. should also support saving code to localStorage.)
  • better performance. noticable lag at 10000 trixls, probably batch-drawing would help, but how? first find out what the bottleneck is.
  • bug: sometimes when moving the mouse to certain positions (edges of the screen?) the camera rapidly alternates between two positions
  • bug: doesn't work in chrome, as it's missing support for iterators and the keys() function on maps. i didn't find any convenient polyfills (keys() should return something iterator-like, e.g. returning raw values on next() and StopIteration when the end is reached.)
  • bug: overwriting trixls isn't supported as Map#set compares by reference and not by value. maybe use chunks instead? (could be a performance boost as well.)