a nuget element for making paticles in blazor

Saeed Pooladzadeh 231 Reputation points
2022-07-25T08:24:10.74+00:00

Hello,

Wich nuget element can make effects like particlejs in blazor?

https://particles.js.org/

regards,

Saeed

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,364 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 55,366 Reputation points
    2022-07-25T20:58:35.027+00:00

    why not just use the javascript library and javascript interop? your Blazor code can produce the input object via json and attach to events.

    note: as Blazor version of this would require a lot of javascript interop to draw each object and WASM does not have fine timers, it would probably be slower, and larger. You would probably end up writing the code in javascript, then supply a Blazer component to wrap it.

    0 comments No comments