Skip to content

ryansolid/solid-sierpinski-triangle-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

Solid Sierpinski Triangle Demo

Popularized by React Fiber demo.

Run it here

This demo is often misunderstood. Even I didn't really get it 100% at first. It's not about the FPS since on most computers these days can run at 60fps. It's about how they degrade under low CPU resources. I previously suggested throttling the CPU in chrome dev tools, and that's still a good exercise but this isn't just about external aspects. React purposefully sticks a slowdown in the component to simulate an expensive computation in every single node. I've done the same with Solid now.

Comparison

React 15

React Fiber

Stencil

Examples without Slowdown

Glimmer

Aurelia

Imba

Radi

About

Solid implementation of Sierpinski Triangle React Fiber Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published