GithubHelp home page GithubHelp logo

dart-webgl's Introduction

dart-webgl

Learn WebGL with Dart!

The is my re-write of learningwebgl.com 16 lessons to the Dart programing language. It is by no means perfect, however I try to leverage the language and its features to introduce structure earlier in the lessons. My hope is this will get more people interested in WebGL programming that might not have been before, while also showing off some of what Dart can do.

Each lesson is fully loaded when compiled. The user need only selected which lesson to run from a drop down box. Optional URL parameters include:

lsn=(1-16) - The default lesson number to show.
width=x    - The width of the canvas element.
height=x   - The height of the canvas element.
fps        - Display a running average frame rate.

Future rewrites of the original articles covering these changes are to coming!

-John Thomas McDole

dart-webgl's People

Contributors

austinmorris avatar domesticmouse avatar escamoteur avatar jtmcdole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dart-webgl's Issues

pub serve generates 404

Hi! I cloned the repository, moved into created directory and run "pub serve".
After I opened http://localhost:8080/ it generated:

404 Not Found
Could not find asset web in package learn_gl.

If it's not the right way to run this project, please describe the correct way in the README.md ... and if it's the correct way, please fix it :-)

Thanks!

P.S.: Console output:

bash-3.2$ pub serve
Loading source assets... 
Serving learn_gl web on http://localhost:8080
Build completed successfully
[web] GET / โ†’ Could not find asset learn_gl|web.

Example 4 crashes on startup in checked mode

Using latest dart sdk: 0.6.9.2_r25388

When launching the application in dartium, selecting example 4 from the drop down box results in an error:

"Breaking on exception: type 'List' is not a subtype of type 'List' of 'elements'."
This refers to line 167 in typed_data.dart:
" factory Float32List.fromList(List < double > elements) {"

Running the application in production mode does not reveal the problem.

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.