File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,7 +189,9 @@ export async function loadAll(engine: Engine): Promise<void> {
189189 ] ) ;
190190
191191 await Promise . all ( [
192- loadFull ( e ) . then ( async ( ) => {
192+ ( async ( ) : Promise < void > => {
193+ await loadFull ( e ) ;
194+
193195 await Promise . all ( [
194196 loadExternalParticleInteraction ( e ) ,
195197 loadExternalPopInteraction ( e ) ,
@@ -201,8 +203,23 @@ export async function loadAll(engine: Engine): Promise<void> {
201203 loadEmittersShapeCanvas ( e ) ,
202204 loadEmittersShapePath ( e ) ,
203205 loadEmittersShapePolygon ( e ) ,
206+
207+ loadBranchesPath ( e ) ,
208+ loadBrownianPath ( e ) ,
209+ loadCurlNoisePath ( e ) ,
210+ loadCurvesPath ( e ) ,
211+ loadFractalNoisePath ( e ) ,
212+ loadGridPath ( e ) ,
213+ loadLevyPath ( e ) ,
214+ loadPerlinNoisePath ( e ) ,
215+ loadPolygonPath ( e ) ,
216+ loadRandomPath ( e ) ,
217+ loadSVGPath ( e ) ,
218+ loadSpiralPath ( e ) ,
219+ loadZigZagPath ( e ) ,
220+ loadSimplexNoisePath ( e ) ,
204221 ] ) ;
205- } ) ,
222+ } ) ( ) ,
206223
207224 loadHsvColorPlugin ( e ) ,
208225 loadHwbColorPlugin ( e ) ,
@@ -246,21 +263,6 @@ export async function loadAll(engine: Engine): Promise<void> {
246263 loadGradientUpdater ( e ) ,
247264 loadOrbitUpdater ( e ) ,
248265
249- loadBranchesPath ( e ) ,
250- loadBrownianPath ( e ) ,
251- loadCurlNoisePath ( e ) ,
252- loadCurvesPath ( e ) ,
253- loadFractalNoisePath ( e ) ,
254- loadGridPath ( e ) ,
255- loadLevyPath ( e ) ,
256- loadPerlinNoisePath ( e ) ,
257- loadPolygonPath ( e ) ,
258- loadRandomPath ( e ) ,
259- loadSVGPath ( e ) ,
260- loadSpiralPath ( e ) ,
261- loadZigZagPath ( e ) ,
262- loadSimplexNoisePath ( e ) ,
263-
264266 loadBubbleEffect ( e ) ,
265267 loadParticlesEffect ( e ) ,
266268 loadShadowEffect ( e ) ,
Original file line number Diff line number Diff line change @@ -47,19 +47,23 @@ export async function loadFull(engine: Engine): Promise<void> {
4747 ] ) ;
4848
4949 await Promise . all ( [
50- loadSlim ( e ) . then ( async ( ) => {
50+ ( async ( ) : Promise < void > => {
51+ await loadSlim ( e ) ;
52+
5153 await Promise . all ( [
5254 loadExternalTrailInteraction ( e ) ,
5355
5456 loadAbsorbersPlugin ( e ) ,
55- loadEmittersPlugin ( e ) . then ( async ( ) => {
57+ ( async ( ) : Promise < void > => {
58+ await loadEmittersPlugin ( e ) ;
59+
5660 await Promise . all ( [
5761 loadEmittersShapeCircle ( e ) ,
5862 loadEmittersShapeSquare ( e ) ,
5963 ] ) ;
60- } ) ,
64+ } ) ( ) ,
6165 ] ) ;
62- } ) ,
66+ } ) ( ) ,
6367
6468 loadDestroyUpdater ( e ) ,
6569 loadRollUpdater ( e ) ,
Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ export async function loadSlim(engine: Engine): Promise<void> {
8181 await Promise . all ( [
8282 loadBasic ( e ) ,
8383
84- loadInteractivityPlugin ( e ) . then ( async ( ) => {
84+ ( async ( ) : Promise < void > => {
85+ await loadInteractivityPlugin ( e ) ;
86+
8587 await Promise . all ( [
8688 loadExternalParallaxInteraction ( e ) ,
8789 loadExternalAttractInteraction ( e ) ,
@@ -99,7 +101,7 @@ export async function loadSlim(engine: Engine): Promise<void> {
99101 loadParticlesCollisionsInteraction ( e ) ,
100102 loadParticlesLinksInteraction ( e ) ,
101103 ] ) ;
102- } ) ,
104+ } ) ( ) ,
103105
104106 loadEasingQuadPlugin ( e ) ,
105107
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const options: ISourceOptions = {
1717 type : "circle" ,
1818 } ,
1919 opacity : {
20- value : 0.3 ,
20+ value : 0.5 ,
2121 } ,
2222 size : {
2323 value : {
You can’t perform that action at this time.
0 commit comments