A Brainloller debugger and code editor. To play around with the debugger, go
to my site or run locally by downloading this
repo and running make install run
.
In order to allow users to both upload and link to Brainloller programs, and not having to process the image on the client and potentially running into CORS limitations, I've created a handfull of services that untimately process and image and send back the pixel data:
https://tmpstore.herokuapp.com
for temporary file storagehttps://paddedjson.herokuapp.com
for turning any endpoint into a jsonp resourcehttps://8rwnim1cq1.execute-api.us-west-2.amazonaws.com/prod/pixels_pixels
for image processing
curl -X POST -F file=@brainloller/helloworld.png https://tmpstore.herokuapp.com/upload
# -> {"name":"STOTAoaKaKyeIESyzXPlpeIupXDcbDyt"}
imgfileurl="https://tmpstore.herokuapp.com/get/STOTAoaKaKyeIESyzXPlpeIupXDcbDyt"
imgprocess="https://8rwnim1cq1.execute-api.us-west-2.amazonaws.com/prod/pixels_pixels"
curl "https://paddedjson.herokuapp.com/?url=$imgprocess&method=POST&body=%7B%22path%22:%22$imgfileurl%22%7D"
# -> callback({"isBase64Encoded":false,"statusCode":400,"headers":{},"body":{"pixels":[[{"R":255,"G":0,"B":0,"A":255}, ...