Comments (5)
@ibgreen I'll fix it. It turned out to be not a small fix; the current scheme points to a gist that is a script that inserts the already-formatted code snippet into the page. I think there's a couple options to fix this:
- Ask for the original code that performed the compiling to the gists and redo all the things.
- Just redo it.
I prefer option 2 because I'd like to 1) modernize the appearance of the lessons and 2) do away with the need to have another (possibly manual because of interacting with gist?) build step - I can build the functionality into a single common script shared across the lessons. I expect it to take a single evening, and we'd have a really nice-looking lesson interface at the end.
from philogl.
Just a question... Do we need to generate gists?Can't we just have the page load its source code using an Ajax request, just like it loads shaders and other resources? and Isn't there some npm 'code editor' component that formats JavaScript?
Alternatively, we could use github links to the files and embed in iframes?
from philogl.
http://stackoverflow.com/questions/1619167/textarea-that-can-do-syntax-highlighting-on-the-fly
from philogl.
That's exactly what I was thinking! 👍 Great, I'll do number 2 then. ;)
from philogl.
from philogl.
Related Issues (15)
- PhiloGL does not appear to work on two canvases at the same time HOT 3
- Move codebase to use browserify HOT 1
- Move codebase to use ES6 HOT 1
- PhiloGL should not error out in a node environment HOT 1
- PhiloGL should work with headless-gl HOT 1
- [stackgl] Replace Mat4/Vec3 with gl-matrix HOT 2
- [stackgl] Replace camera handling with perspective-camera
- [stackgl] Evaluate glsl-parser/deparser and gl-shader HOT 1
- Remove all calls to jQuery-mini.js HOT 1
- Promisify XHR functions or replace XHR functionality with third-party lib that uses promises. HOT 1
- Create example of shadow casting with this lib HOT 1
- Create deferred rendering example HOT 1
- Create persistence example
- Update documentation to match refactored code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from philogl.