Coder Social home page Coder Social logo

pixelrenderer's Introduction

概述

初衷

PixelRenderer是一个点阵屏画面渲染引擎,用于对点阵屏上元素显示、过渡等效果进行渲染。PixelRenderer是像素时钟PixelBlock项目的子项目,开发PixelRenderer的初衷就是为了能够使PixelBlock以一种更便捷、优雅的方式显示。

介绍

PixelRenderer作为一个渲染引擎,旨在提供一种更优雅的像素点阵显示方式。在PixelRenderer中,我们需要定义画布(Canvas)与元素(Element),所有出现的图形被视为一个元素,每个元素定义自身的样式(Style)以及形状(Shape)。而元素应被放置于画布上。由于不同元素可能并不是单一平面的(层级),就像在现实中每个元素都应拥有层级(如两张交叠在一起的纸片)。为了实现层级渲染,我们开发了元素渲染引擎与层级渲染引擎,由此能够为元素提供更多元的渲染效果。渲染首先交由元素渲染引擎渲染每个元素,完成后交由层级渲染引擎进行层级渲染。层级渲染旨在处理元素层级交叠后的显示效果。渲染完成后,交由显示组件对画面进行显示。

PixelMatrixDisplay开发调试工具

为了给PixelBlock的开发提供更便捷的开发与调试环境,我们开发了PixelMatrixDisplay开发调试工具,该工具使得我们可以在电脑端直接进行像素点阵的效果演示与预览。同时,为了兼容开发环境代码与PixelBlock生产环境代码,PixelBlock项目像素点阵控制组件也被命名为PixelMatrixDisplay,并且两个库提供兼容的方法名。这样使得电脑端调试完成后可以直接在生产环境部署,不需要再做任何改动。关于PixelMatrixDispaly工具见。。。。。。

pixelrenderer's People

Contributors

lllhys avatar

Stargazers

 avatar  avatar

Watchers

 avatar

pixelrenderer's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.