gmattie / data-pixels Goto Github PK
View Code? Open in Web Editor NEWCreate pixel art programmatically. Includes DataPixels.js and Data Pixels Playground desktop application.
Create pixel art programmatically. Includes DataPixels.js and Data Pixels Playground desktop application.
This looks like an amazing project, but it looks like development has ceased. Is it being rewritten, or is there a fork that is being maintained?
Thanks!
First I run npm run prod
then cd resources/build
After that, running either npm run package
or npm run package-mac
results in the following error:
{ Error: Command failed: electron-packager ./ --overwrite --asar --arch=x64 --app-copyright="Copyright © 2017 Geoffrey Mattie" --out="./releases/" --platform=darwin --app-bundle-id=com.mattie.DataPixelsPlayground --icon=../source/images/icons/icon.icns /bin/sh: electron-packager: command not found at ChildProcess.exithandler (child_process.js:198:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:891:16) at Socket.<anonymous> (internal/child_process.js:342:11) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at Pipe._handle.close [as _onclose] (net.js:497:12) killed: false, code: 127, signal: null, cmd: 'electron-packager ./ --overwrite --asar --arch=x64 --app-copyright="Copyright © 2017 Geoffrey Mattie" --out="./releases/" --platform=darwin --app-bundle-id=com.mattie.DataPixelsPlayground --icon=../source/images/icons/icon.icns' }
I tried compiling the production code in the project folder using npm run prod
as the readme says, and I keep getting this:
> gulp --production
module.js:472
throw err;
^
Error: Cannot find module 'autoprefixer'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/jon/Downloads/Data-Pixels-master/gulpfile.js:2:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "prod"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prod: `gulp --production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prod script 'gulp --production'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the data-pixels-playground package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp --production
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs data-pixels-playground
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls data-pixels-playground
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/jon/.npm/_logs/2017-05-20T13_59_22_864Z-debug.log
I even have the latest version of Node.js, npm, and gulp installed. For help, I tried npm bugs data-pixels-playground
and npm owner ls data-pixels-playground
, but I got 404 errors.
The packaging commands relevant to my OS won’t work either, and I was in the build folder. I get missing script
errors for package and package-mac.
Cool app!
I keep clicking the "run" button. Maybe that's not necessary though. Couldn't the preview update any time a change is made to the code?
Not sure where to put this, but thought you might like to see the Mario example live in Observable.
Thanks so much for your work on this.
Hi, Thank you for this, works great and you are awesome! I have a question though. Is there an easy way to save the generated files as jpeg or png?
When I click any of the items in the menu bar, they don't load. Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.