Giter VIP home page Giter VIP logo

hueforge-at-home's Introduction

hueforge-at-home

Basic javascript implementation of layer-color mixing for 3d printing

image

It does not generate stl files from images (like hueforge actually does), so I recommend converting your images to stl using something like https://3dp.rocks/lithophane/

To run on Windows:

  • Install nodejs
  • Download this project and unzip it
  • Open a terminal window in the folder where you unzipped the project (the folder where index.html is located) by opening the folder in File Explorer and typing 'cmd' in the search bar like so:

image

  • Run the following command:
npx serve
  • It should download some dependencies then give you a message that says "Serving!" like this:

image

โš ๏ธ If you get an error like npm ERR! code ENOENT, run this command then try again:

mkdir "%AppData%\npm"

  • Open up the URL in your browser. For the screenshot above, that would be: http://localhost:3000

  • You can replace the input_image.png file with any image you want (just make sure it has this exact name and path) then refresh the page. If you need to use a jpg instead of png the you would need to make some modifications to main.js (edit the line name = "input_image.png" to point to your jpg file name) It will keep working as long as you keep the cmd window open with the npx serve program running.

hueforge-at-home's People

Contributors

kylemath avatar lucaskendi avatar davidster avatar

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.