Tag:picture
-
Time:2021-4-20
[introduction]: a simple command line tool for generating images from text. brief introduction Deep daze is a command line tool that uses openai clip and siren to generate images from text. It can generate corresponding images by using simple language to describe image content.  has no independent path Stroke Rect (x, y, W, H) has independent path, which does not affect other drawing FillRect (x, y, W, H) has independent path, which does not affect other drawing Clearrect (x, y, W, H) the rectangular area to be erased Arc […]
-
Time:2021-4-15
introduction Canvas provides a platform for front-end animation display. With the popularity of video entertainment, have you ever thought of exporting canvas animation to video? At present, there are only front-end video coding conversion (such as WebM encoder)Whammy)There are still many limitations. The more mature scheme is to transfer each frame of image to the […]
-
Time:2021-4-15
You can click to view the following articles about wechat before: How to export your wechat voice Is Disk C full again? Wechat cleaning artifact helps you release space Wechat withdrawal message can also be seen! How to backup official account articles and web pages that may be deleted How to login multiple wechat on […]
-
Time:2021-4-14
Project experience address Free video tutorial Introduction to the game Lucky fruit machine is an arcade game. The game interface is made up of 24 squares, each of which has a different fruit graphic and a small light under it. Players use the game currency to choose the target they want to bet on. After […]
-
Time:2021-4-13
Example:Static folder structure to import const folderReader = require.context(‘../../../../assets/chartTypes/options’,false,/\.js$/); Folderreader returns a methodwebpackContext(req) use: const __chartTypes = folderReader.keys().map((k)=>{ return folderReader(k).default; }); among folderReader.keys () returns an array of relative paths of files in a folder: Using the returned array as a parameter and calling the method returned by folderreader, you can get the output of […]
-
Time:2021-4-11
Preview effect of this project:https://leeseean.github.io/sic-bo layout The layout adopts HTML + CSS layout, the desktop background uses pictures, the selection number inside does not use pictures, all pictures are written in CSS, and the cup and dice inside use pictures. Animation effect There are two main animation effects, One is to roll the dice after […]
-
Time:2021-4-10
GitHub build stable chart bed, easy to use I’ve used some graph beds before, but they are generally troublesome and inconvenient to write markdown blogs. I found that vs code supports writing markdown blogs and one click upload to GitHub graph bed. I’d like to record it! 1. Vscode plug-in picgo You need to use […]