Git Product home page Git Product logo

persona5's Introduction

运行

首次运行

在文件中新建config.json,里面加上

{
  "salt": "盐"
}

不要将config.json上传到git仓库

然后执行

$ npm install
$ npm start

访问localhost:3096即可

Windows下脚本

babel编译脚本

可能需要在管理员权限的PowerShell下执行set-executionpolicy remotesigned

run.ps1

babel -d dist/ src/
cp ./src/public ./dist -r -force
cp ./src/views ./dist -r -force

*nix下脚本

首次建立记得执行chmod +x

更新脚本

update

$ forever stop ./dist/bin/www
$ git pull
$ npm install
$ ./run
$ forever start ./dist/bin/www

babel编译脚本

run

babel -d dist/ src/
cp -rf ./src/public ./dist
cp -rf ./src/views ./dist

persona5's People

Contributors

dependabot[bot] avatar lzxhahaha 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

Watchers

 avatar  avatar

persona5's Issues

Questions regarding generation of text

  1. How does it work? it seems that if, for example, you repeat "ナ" more and more, a pattern would emerge but it doesn't (except the background, in this case it turns into "bars" instead of a bulls eye)
  2. Is is possible to rewrite this as a Python or JS program?
  3. Is it possible to allow for newlines and such to exist? Such that multi-row text can work?

To do the new line

Is it possible to make the text go newline, for example when a certain number of chars has been reached, modifying also the image height to contain that? If yes, could you tell me the lines where this behaviour could be introduced? Thanks!

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.