Skip to content

Latest commit

 

History

History

nothing-react-core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@nothing-sdk/react-core

nothing graphics engine core library for react. runs on skia 2d graphics engine

Installation

yarn add @nothing-sdk/react-core

Usage

skia core api -- prefix SK

<Stage>
    <SKRect x={0} y={0} width={0} hight={0}>
</Stage>

core graphics api -- prefix CG

<Stage>
    <CGRect x={0} y={0} width={0} hight={0}>
</Stage>

nothing graphics api (reflect ui based) -- prefix None

<Stage>
    <Rect x={0} y={0} width={0} hight={0}>
</Stage>

Disclaimer

Some of the code are from below. there are all great projects, we recommand you to take a look

  1. react-canvaskit (MIT) 2021.2
  2. noya (MIT) 2021.4