tsoding / gross Goto Github PK
View Code? Open in Web Editor NEWGraphics Library for Rust inspired by https://hackage.haskell.org/package/gloss
License: MIT License
Graphics Library for Rust inspired by https://hackage.haskell.org/package/gloss
License: MIT License
It would be good to have support for some bitmaps, but at the moment I don't know how the signature of Picture::Bitmap should look like.
Gloss implements some kind of BitmapData. Maybe we should implement something similar
Research how to enforce order of transformations on the typelevel.
NinjaTrappeur: yes, I am not familiar enough with rust for having a precise idea. Is there any way to make a type polymorphic? In haskell I would create a Picture typeclass with a render function and would use the data constructor in order to "incorporate" the operation in the type system
It should look good to represent the project.
I think in Gloss it behaves a little bit different. We apply the closest color. But Gloss I think does the opposite. We need to research that.
Uses of the library should be able to define their own event handler the allow them to mutate state when something happens.
It should translate Vec<Picture>
to Picture::Pictures
simulate entry point from Gloss provides a default navigation. We have to have something like that.
I don't really want to implement it as it's done in Gloss. In Gloss it looks like simulate and play are implemented separately. I want our simulate
to be implemented in terms of play
with some default event handlers that provide the navigation abilities. Furthermore I want those navigation handlers to be available to the user so they can wrap around them if they need to extend the navigation behaviour.
From Graphics.Gloss.Data.Picture:
Picture elements we definetly need:
Picture combinators we definetly need:
Picture elements I'm not sure we need:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.