Particles & Weather for CSHTML5 - 0.1 ALPHA

TaterJuice
Posts: 147
Joined: Thu Mar 16, 2017 5:40 am
Contact:

Particles & Weather for CSHTML5 - 0.1 ALPHA

Postby TaterJuice » Mon Aug 28, 2017 1:43 pm

Vivrant.Particles

Description:
Particles and Weather for CSHTML5 (http://cshtml5.com/)

Demo:
http://vivrant-weathertests.bitballoon.com/

DLL Direct Download:
https://www.dropbox.com/s/qojc5itv9f2me ... L.zip?dl=0

Source Download:
https://github.com/taterjuice/Vivrant.Particles

Milestones:
8-28-2017: ALPHA 0.1
- Snow and Rain particle generators completed
- Allow multiple instances of Particle Panels on same page
- CPU\Lifecycle Pause: When browser window\tab is not focused, animations will slow, and eventually pause. This uses JS 'document.hasFocus()'
- CPU\Lifecycle Resume: Once browser window\tab regains focus, animations will begin again. This uses JS 'document.hasFocus()'

Limitations:
Does not work in Simulator! I don't know why.

Screenshot:
Image

Usage:
- Add a reference to Vivrant.Particles.dll
- Create a new XAML window or Control
- Add a XAML Namespace:

Code: Select all

xmlns:vp="clr-namespace:Vivrant.Particles;assembly=Vivrant.Particles"

- Add the the following to your window or Control (this can replace any existing Canvas or Grid objects)

Code: Select all

<Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
   <vp:WeatherPanel>
      <vp:WeatherPanel.ParticleGenerator>
         <vp:SnowGenerator />
      </vp:WeatherPanel.ParticleGenerator>
   </vp:WeatherPanel>
   <StackPanel>
      <!-- Other controls to underlay the Particle Animations -->
   </StackPanel>
</Canvas>

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Particles & Weather for CSHTML5 - 0.1 ALPHA

Postby JS-Support @Userware » Thu Aug 31, 2017 9:22 am

Very nice!!!

Thanks a lot for sharing this extension!


Return to “Extensions and Plugins for CSHTML5”

Who is online

Users browsing this forum: No registered users and 1 guest