我如何制作自定义的粒子样式?

时间:2019-06-20 13:51:52

标签: javascript html css particles.js

我想在页面的某些部分使用 particles.js ,并希望它看起来像这样:

picture which l want

我试图更改json中的默认配置,但没有找到任何对我有帮助的东西。不同的多种颜色。我该怎么办?

粒子JSON

"C:\Program Files\Java\jdk-11.0.2\bin\java.exe" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Users\sam50170\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\lib\idea_rt.jar=61255:C:\Users\sam50170\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\sam50170\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\lib\idea_rt.jar;C:\Users\sam50170\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\plugins\testng\lib\testng-plugin.jar;P:\Java\out\production\Java;P:\selenium-server-standalone-3.141.59.jar;P:\Java\TestNG\testng-6.8.5.jar\testng-6.8.5.jar;C:\Users\sam50170\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2018.3.3\plugins\testng\lib\jcommander.jar" org.testng.RemoteTestNGStarter -usedefaultlisteners false -socket61254 @w@C:\Users\sam50170\AppData\Local\Temp\idea_working_dirs_testng.tmp -temp C:\Users\sam50170\AppData\Local\Temp\idea_testng.tmp
[TestNG] Running:
C:\Users\sam50170\.IdeaIC2018.3\system\temp-testng-customsuite.xml
Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 32524
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1561101866.486][WARNING]: This version of ChromeDriver has not been tested with Chrome version 75.
Juni 21, 2019 9:24:27 VORM. org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS

===============================================
Default Suite
Total tests run: 3, Failures: 0, Skips: 0
===============================================


Process finished with exit code 0

我只得到以下简单粒子,但我想要上图中的图像:

it is simple particle but l want like in picture above

0 个答案:

没有答案