https://github.com/chenycl/single-html
make image,marmoset model complimer to a complete html,可做Wallpaper Engine 3d壁纸
https://github.com/chenycl/single-html
marmoset offline single-html wallpaper-engine
Last synced: 3 months ago
JSON representation
make image,marmoset model complimer to a complete html,可做Wallpaper Engine 3d壁纸
- Host: GitHub
- URL: https://github.com/chenycl/single-html
- Owner: ChenYCL
- Created: 2020-06-19T12:06:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T09:20:28.000Z (over 3 years ago)
- Last Synced: 2025-05-01T14:42:36.625Z (about 1 year ago)
- Topics: marmoset, offline, single-html, wallpaper-engine
- Language: JavaScript
- Homepage: https://chenycl.github.io/single-html/
- Size: 183 MB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# what's this
it's teamplate export a single html with webpack,nodejs, make images to base64 to show,
and with .mview model.
可以将图片和模型导出为完整html,配合wallperEngine 可做壁纸,使用ModelView_WallpaperEngine_templatee.html模版导出
## [model demo](https://github.com/ChenYCL/single-html/tree/wallpaper)
# rules
- imgs
dir collect image
放置图片的文件夹,将会自动打包
- model
dir collect .mview etc
放置模型的文件夹,将会自动打包
# use
```$javascript
npm install
npm run fix-memory-limit
npm run build // normal
npm run wallper // for wallper engine
// export dist/index.html
// 导出位置 dist/index.htl
```
global variable on window
[filename]\_model - model object,if imgs dir have scene.mview
模型变量 文件名_model
eg. scene_model
[filename]\_img - image object,if imgs dir have show.png
图片变量 文件名_img
eg. show_img
# Preview

## wallpaper_engine
