GithubHelp home page GithubHelp logo

maxogden / voxel-builder Goto Github PK

View Code? Open in Web Editor NEW
149.0 13.0 50.0 4.96 MB

build stuff with blocks in the browser, export for papercraft or 3d printing

Home Page: http://voxelbuilder.com

Makefile 0.20% CSS 54.90% JavaScript 44.90%

voxel-builder's Introduction

voxel-builder

originally inspired by voxel painter by mr doob.

How to run this

npm install
npm start

license

BSD

voxel-builder's People

Contributors

hughsk avatar kevzettler avatar max-mapper avatar mk30 avatar psukhe avatar romainberger avatar snagy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voxel-builder's Issues

Inconsistent versions

The version of the website currently at voxelbuilder.com is inconsistent from the version present in both the master and gh-pages branches. I searched on GitHub for Minecraft, which appears on voxelbuilder.com, than I searched for When you are done, export it as a PNG file on voxelbuilder.com. Both times I wasn't able to find any results which leads me to believe that these are different websites.

Either,

  • this repository should be updated to reflect the current version of the website and a notice should be added to let contributors know of this potential inconsistency,
  • the website should be updated to use GitHub Pages,
  • or this inconsistency should be clarified.

Un-optimal results

Heya!

I think the paper-mode is producing quite on-optimal results.

For example, the body of the pig from: http://voxelbuilder.com/ could be produced using less amount of layers, the legs could be a 2x1 box. The body of mario could be produced using less paper too.

Cheers.

Error while "Recent Creations"

Hello,

I got an error while clicking on "Recent Creations(Recently made critters)".

An alert shows "error loading recent creations".

Thanks

needs admin UI

there are now 234 critters in the database: http://max.ic.ht/_utils/database.html?critters

there have been about 300 created but a lot are duplicates and a lot are penises (kids these days, sigh)

so far I've been manually deleting duplicates/spam but it would be nice to have a single purpose web app that does this! I would be happy to provide login credentials

this can be done as a standalone app, the couch API is easy to integrate with, e.g. http://max.ic.ht/critters/_all_docs?include_docs=true

this is important because we share the data between http://voxelbuilder.com and http://shama.github.io/voxel-critter and it would be nice to keep the data clean

cc @thisandagain @derekr

Improve instructions/make a curriculum page

@lyle @tmpvar @brycebaril @darkroastruth I did a first pass at Export > Orthogami and Export > Paperstack in the app, try it out on http://voxelbuilder.com/

I think we need better instructions though, ideally a sort of guide that is targeted at people who want to use this in classroom settings

Some stuff to work on if anyone wants to help w/ this issue

  • improve front page copy (index.html)
  • improve pop-up instructions that come up the first time you launch the builder (edit.html)
  • add instructions to the Export Orthogami and Export Paperstack modals (edit.html)
  • if it makes sense make a whole new page that is an end-to-end guide

figure out how to prevent duplicates

kids publish duplicates often. maybe we could show a message when they successfully publish so they don't publish twice? and maybe we can figure out a way to update an existing document instead of creating a new one every time?

Install failed

Running on CentOS and I got this at the end of the npm install, which of course gave errors when I tried npm start.

[email protected] node_modules/ndarray
└── [email protected]

[email protected] node_modules/orthogami
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])

[email protected] node_modules/ndarray-stl
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])

[email protected] node_modules/voxel-critter
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])

[email protected] node_modules/voxel-2d-print
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/ndarray-fill
└── [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/beefy
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[root@coursesaver cubecounting]# npm start

> [email protected] start /var/www/html/quizzes/cubecounting
> beefy demo.js:bundle.js 8080

listening on 8080
using browserify

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
  at errnoException (net.js:904:11)
  at Server._listen2 (net.js:1042:14)
  at listen (net.js:1064:10)
  at Server.listen (net.js:1138:5)
  at Object.<anonymous> (/var/www/html/quizzes/cubecounting/node_modules/beefy/index.js:118:4)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/var/www/html/quizzes/cubecounting/node_modules/beefy/bin/beefy:2:1)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Function.Module.runMain (module.js:497:10)
  at startup (node.js:119:16)
  at node.js:906:3

npm ERR! weird error 8
npm ERR! not ok code 0

Rendering in Three.js

Is there a class to render these (efficiently, aka leaving out unseen sides) in ThreeJS?

Obj Export

Does anyone know how this would be possible? I could add the changes if anyone had suggestions on the best way to do it. It would be incredibly useful for my current game project.

Add interface to save/load model

In order to continue the creation at a later time, it would be useful to be able to save the model.

The simplest way is to allow saving models on the computer and loading them from it. Other option is to hash the model and use the hash as an url , e.g. http://voxelbuilder.com/model/112eceo73jrx3jcrj8jrsadasbhdbadbhad3x2e3exc, that is editable by anyone that enters on it (which has the advantage of being able to share the model with others).

In any case, nice piece of software!

Publish on npm ?

Hi,

I am probably going to use voxel-painter as a base for a project where I will need to extend it, so I wanted to know if you had any plans on publishing it as a module.

The best would be to be able to create "plugins" à la voxel-engine (to use informations from the module, or trigger actions on some hooks, stuffs like that).

If this is not something you're planning that's not a big deal as I can hack it to make it my own, but it would be better to use it as a module to benefit from bug fixes, improvements and such. Also I realize it could be a lot of work as it's completely linked to the markup as it is, but I would be glad to work on it if needed.

Thanks

Will not export PNG

Running Chrome on windows 7, 64 bit OS
Trying to export a PNG leads to new tab at address "about:blank", tab title "Untitled"
Cannot export regardless of whether Grid, Wireframe, and Animation or any combination thereof are on/off
Not a computer person, also pretty sure no one is working on this any more lol
Thank you

export smaller screenshots

twitter cropped my 1440 × 803 png to 1023 × 571 when I uploaded it to pic.twitter.com. imgur.com didn't crop though

if we exported smaller images then they wouldn't get resized. resizing causes the encoded voxel data to get lost

cc @hughsk

[feature] add animation

I'm thinking the easiest way to do is is just hardcode it to 3 or 4 frame animation. maybe you enabled 'animation mode' after you finish your initial critter and then it lets you modify your character to make different animation frames

the UI could be tricky to make intuitive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.