"icon octicon octicon-history"> Commits 927 Releases 1 Wiki

927 Commits (4b7a5bd27317b5f5114802d1fa1dad9fd5d197f1)

Author SHA1 Message Date
  Lucas Stadler bd9da65e81 Add basic zip extraction using libzip 10 years ago
  Lucas Stadler 3f58c6038c Prepare Makefile for multiple source files 10 years ago
  Lucas Stadler 82556c6364 Add task to create makeshift JavaScriptCore "docs" 10 years ago
  Lucas Stadler eff7101602 Ignore compiled js, binaries and utility files 10 years ago
  Lucas Stadler c70652c800 Add .vimrc to make syntastic work 10 years ago
  Lucas Stadler 8e959cc7d3 Add a Makefile 10 years ago
  Lucas Stadler b87b8db485 Rename jsc-test to ton 10 years ago
  Lucas Stadler 688c69ed9c Port bootstrap from planck 10 years ago
  Lucas Stadler be1d5b4aa0 Fix file reading and move it into a function 10 years ago
  Lucas Stadler c7b52b09b1 Use evaluate_script instead of JSEvaluateScript 10 years ago
  Lucas Stadler 4ab9cbd6b3 Extract evaluation to a separate function 10 years ago
  Lucas Stadler be70524e7c Print import errors when DEBUG is set 10 years ago
  Lucas Stadler 6763eedf44 Support importing scripts from disk 10 years ago
  Lucas Stadler 1534383cb9 Prefix jsc callbacks with `function_` 10 years ago
  Lucas Stadler 8d3c007a52 Make console_log look like console_error 10 years ago
  Lucas Stadler aacc99e87b Provide console.log and console.error 10 years ago
  Lucas Stadler a65348d504 Add a CONSOLE_ERROR function 10 years ago
  Lucas Stadler 896951e4ee Remove unnecessary newline 10 years ago
  Lucas Stadler c630cf6b6b Add a neat little example of using JavaScriptCore 10 years ago
  Lucas Stadler 2e7e56f0ee A simple time-to-socket-printing server example 10 years ago
  Lucas Stadler 9675e544dd Support caching results 10 years ago
  Lucas Stadler a9c121e78e Ignore the binary 10 years ago
  Lucas Stadler b8d77af5b5 Don't panic if getting the info fails 10 years ago
  Lucas Stadler d3ce7b4d7f Use http if no protocol was specified 10 years ago
  Lucas Stadler 40442c3eb1 inquire: A tiny program to get metadata about a url 10 years ago
  Lucas Stadler 7d4bd2f1d6 Use encrypted websocket if connected via https 10 years ago
  Lucas Stadler 60b203733d Fix printing the address we're listening on 10 years ago
  Lucas Stadler 304ca8447d Listen only on localhost 10 years ago
  Lucas Stadler 9108c467b9 Listen only on localhost 10 years ago
  Lucas Stadler d84545543b Note that it needs to be built with nightly 11 years ago
  Lucas Stadler cd8a3f38e5 Add a tiny README.md 11 years ago
  Lucas Stadler b030f12a8e Merge the two `impl` blocks for PNGImage 11 years ago
  Lucas Stadler 9716e26c45 Put message conversion into a method 11 years ago
  Lucas Stadler 6d9d9d168c Use an iterator to convert the message 11 years ago
  Lucas Stadler f7ec2ddc92 Rename png_image to PNGImage 11 years ago
  Lucas Stadler e158a91301 Use c_uint instead of uint32_t 11 years ago
  Lucas Stadler 53d3c41d97 Print empty line between the two examples 11 years ago
  Lucas Stadler 8e800af3c8 Remove debug println 11 years ago
  Lucas Stadler ddca15b9cd Support getting the filename from the cmdline 11 years ago
  Lucas Stadler e658f0c907 Move ffi call into a method on png_image 11 years ago
  Lucas Stadler 8c7c2d2feb Move png_image initialization into a function 11 years ago
  Lucas Stadler fb389a2eb2 Implement Display for png_image 11 years ago
  Lucas Stadler 3943b76f19 Initialize the `.version` field correctly 11 years ago
  Lucas Stadler a15fe17b56 Use a null-terminated string for the file name 11 years ago
  Lucas Stadler 6a04b2debb Add a printing function that displays png_image 11 years ago
  Lucas Stadler e5ac979f6a Use libc::c_void for the opaque struct 11 years ago
  Lucas Stadler a71e0aac9f Fix the opaque type 11 years ago
  Lucas Stadler 24965887e1 Use `zeroed` instead of `unitialized`. 11 years ago
  Lucas Stadler 6e15c8137c Add work-in-progress png example 11 years ago
  Lucas Stadler 416aa59f35 Initial commit: Hello FFI in Rust! 11 years ago
lp - git.papill0n.org

Nessuna descrizione

Lucas Stadler bf2b2cd224 fix draw_pixl without any options passed. 12 anni fa
..
data d50abe128d add save and load api calls. 13 anni fa
public bf2b2cd224 fix draw_pixl without any options passed. 12 anni fa
.gitignore 86cf6d152e initial support for scripts. 12 anni fa
Makefile 3133c0b5f5 use controls from three.js. 13 anni fa
README.md 795a6dc777 bug: overwriting trixls isn't properly supported. 13 anni fa
package.json 86cf6d152e initial support for scripts. 12 anni fa
screen.png b4e2792e49 add screenshot. 13 anni fa
server.js bc730a6188 support listing the availlable scripts. 12 anni fa

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.)