MIT License

项目介绍

LucasKendi/hueforge-at-home 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 90 个 Star、11 次 Fork。

仓库全名
LucasKendi/hueforge-at-home
开源许可证
MIT License
Star 数
90
Fork 数
11

README 摘要

hueforge-at-home Basic javascript implementation of layer-color mixing for 3d printing 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/ or opening your images directly into your slicer if the slicer supports it. Running in the browser: https://lucaskendi.github.io/hueforge-at-home/ Running with VS…

完整内容见 GitHub 原始 README 或本页 。

常见问题

hueforge-at-home 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 90 个 Star。

hueforge-at-home 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 hueforge-at-home 的源码?

可以直接克隆仓库:git clone https://github.com/LucasKendi/hueforge-at-home.git,默认分支为 main;安装与运行步骤见仓库 README。

hueforge-at-home 最近还在维护吗?

仓库最近一次更新为 8月2日,当前没有未关闭的 Issue;Star 数为 90,可作为社区活跃度的参考。

关于

Basic javascript implementation of color mixing for 3d printing using p5js

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
116
价值分
57
活跃状态
活跃

语言占比

CSS
HTML
JavaScript

README

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/ or opening your images directly into your slicer if the slicer supports it.

Running in the browser:

https://lucaskendi.github.io/hueforge-at-home/

Running with VS code:

  • Download this project and open it on VS Code
  • Add the VS Code Live Server extension
  • Click on the Go Live button on the bottom right corner
  • image
  • It will open your browser on the local server, usually on port 5500

Running on Windows with nodejs:

  • 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

:warning: 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.

评论

暂无评论