Skip to content

threepointone/xen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xen

jsx and generators for p5.js

xen(function*(_) {
  let ctr = 0;
  yield <scene background={0} noStroke />;

  while (true) {
    yield (
      <rect
        x={a++ % _.width}
        y={10}
        width={2}
        height={80}
        fill={102}
        stroke="red"
      />
    );
  }
});
  • hot reloading
  • iterable components
  • proper types

About

jsx+generators+p5.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published