krikienoid/flagwaver
关于
用于模拟旗帜飘动的 Web 应用。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文FlagWaver
A web app for simulating a waving flag.
krikienoid.github.io/flagwaver
Description
FlagWaver is a web app that lets you upload your own image and turn it into a flag. It is a visualization tool that simulates a waving flag in 3D. You can change the hoist direction, wind, background, and more.
See the wiki for details.
Development
This project uses a Gulp powered build system to manage tasks such as transpilation and minification. Code files from the src directory are compiled and output to the dist directory.
Dev tools - Gulp, Rollup, Babel, Terser, Sass, Autoprefixer, clean-css
Frontend - Preact, React Redux, Redux, Spectre.css, three.js
Build
- Run
npm installto install dependencies after pulling down the repository for the first time. - Run
npm run startto build the project and run the website locally. The finished site will be created in a folder calleddistand will be viewable in the browser athttp://localhost:8000. - Run
npm run start-testto build the project to thedistdirectory with production ready assets.
Resources
- Advanced Character Physics by Thomas Jakobsen Character
- Cloth modeling - Wikipedia
- Real-time Cloth Animation
Credits
Written by krikienoid. Based on previous work by flagtest.nz and Joshua Koo.
License
Code
Code released under the MIT License.
Assets
All art assets included in this project are distributed under their respective licenses.
- Material Design icons - Apache License 2.0
- Montserrat - SIL Open Font License 1.1
- Sky over Washington Monument.jpg - This work has been released into the public domain by its author, Andypham3000 at English Wikipedia. This applies worldwide.
- Blue Clouds Sky - Pixabay License. Free for commercial use. No attribution required.
- Moon Sky Clouds - Pixabay License. Free for commercial use. No attribution required.
探索相关项目
加载中…