Instructions for how to enable developer extensions in a variety of browsers - currently Chrome, Firefox, Safari, IE, Opera, Mobile Safari. Please contribute more!
Public Domain or whatever license.
presentations for busy messy hackers
Home Page: https://glitch.com/~tmcw-big-demo
License: Other
Do a branch, do a first tagged release. The tires have been thoroughly kicked.
thanks for big <3
One thing I noticed, this slide deck doesn't load properly in IE10 (build 10.0.9200.17148). Debugging big.js in IE gives this message "SCRIPT5007: Unable to get property 'timeToNext' of undefined or null reference big.js, line 7 character 32"
Would that cause this IE issue?
@tmcw Do you have a preference for what as-yet-unreserved-by-markdown character combo could be recompiled into <notes>
tags in a manner similar to this?
My suggestions are +++
or ===
, but I defer to you. Will send a PR when ready.
That way biggie (and other tools) can depend on the latest script?
Seems chill and doable.
See magic over at weenote jed/weenote@a66c03b
Just to be picky, custom attributes should be prefixed with data-. It works fine as is of course.
@maxogden and I both used big for our talks at NodeDublin.
I'm in the back row and a slide with a long line, one line of code in a pre block, is way at the top, alone, and the projector sticks out of the ceiling and obscures the line from my view way in the back. really wish is was vertically centered.
I have quite a few tricks I tend to re-use, should document them to go with big 1.0
Anything else to add to this?
I'm deciding between setting the minimum browser at IE9 or IE10 - but regardless, I should switch the current usage of .which, which is deprecated, with .key, which isn't.
The following code should display a the text "Hello World" over the image. Only the image is displayed.
I apologize if this is the intended behaviour, I'm not trying to disguise a feature request. I think it's the expected behaviour, however if it is in conflict with the mission statement that's fine.
---
Hello World
![](http://farm3.staticflickr.com/2608/3801835477_b87502a888.jpg)
---
I did a really long presentation with big, to introduce programming and python.
@tmcw Would you be open to me writing up some basic instructions for junior hackers like me? Just stuff that's probably obvious to most people, but tips for building out a presentation: where/how to add images, tweaking styles in line, etc.
You can see this on the demo: http://www.macwright.org/big/demo.html#1
I tried to work on a PR but didn't get very far. For my presentation I've just removed this line of code to have a static title:
document.title = e.textContent || e.innerText;
PS. I really enjoy big, thanks for making it :)
I wish there was a way to center an image on screen. I'm not using it as a background, I just wanted it centered. Any suggestions?
á la biggie.
One of Big's appeals is that it's so small, and does one thing quite well. However, I did two presentations earlier this week in Big and I couldn't get either of the two remotes I had available to me to work (this also ties in with #36 ). It would be awesome if there was a lightweight way to offer support for presenter remotes without compromising Big's defining characteristics.
Reveal.js has a plugin for remotes.io which could be an option. I'm not a fan though of enforcing an internet connection just for this. But it could be an add-on option though. Here's the remotes plugin which is used by Reveal:
https://github.com/hakimel/reveal.js/blob/master/plugin/remotes/remotes.js
Within my presentation - http://skorasaurus.github.io/hotatnacis2013
there are a couple occasions when the slide does not load after waiting for over a minute.
I haven't found anything in common among the slides besides that they all are images.
It does not hang on all images, only on some - specifically http://skorasaurus.github.io/hotatnacis2013#3 ; http://skorasaurus.github.io/hotatnacis2013#25 ; which are at: https://github.com/skorasaurus/hotatnacis2013/blob/gh-pages/index.html#L18 and https://github.com/skorasaurus/hotatnacis2013/blob/gh-pages/index.html#L67
I'll receive an error within firefox (24, ubuntu 12.04, 64bit) that says big.js is unresponsive, at line 21.
https://github.com/tmcw/big/blob/gh-pages/big.js#L21
The problem images are not the largest images either. I had no problems loading a 1.8mb gif, but a 1.3mb jpg and 600kb png are the troublesome images.
I've also tried chromium 28.0.1500.71-0ubuntu1.12.04.1 and have same problems.
I've also checked the console in the dev tools while loading these problem slides - no information appears there.
Lastly, I've also replicated this error locally and in my gh-pages branch - http://skorasaurus.github.io/hotatnacis2013
I'm looking to update big's default color scheme. The current colors leave me wanting
Left to my own devices, my main options are:
The main picks here are:
Also open to question is fonts. Right now Big uses the system font stack because
That said, if we can have a nice webfont default that falls back, or which we can include the fonts for, I'd totally be open for it, but also don't trust my own sense of font-choosing here, I fear @mayagao will laugh at me.
Hey there!
Huge fan of big here - I use it for all my presentations!
A big problem that I have (especially when viewing in small windows or on mobile phones) is that pre
tags don't big-ify properly for large entries. This usually means that all of my code snippets get mangled into something unreadable.
For example:
Would be great if this was fixed, then I could share my big presentations without having to hear that they don't work from mobile users..
made a presentation with big at a geo-spatial meet up http://calvinmetcalf.github.io/esri2open/
It seems that background-size:100%
in CSS is keeping the image-tiling feature from working. Perhaps this was intentional since tiling is described as a 'feature'.
This slideshow crashes as soon as I advance to an image. It would be neat if I could figure out why.
Perhaps the slowness could be fixed in the software, but I think documentation on this would be good either way.
If you give me tips for my specific situation, I can write the documentation that I request.
I followed the instructions in the README and ran big-presentation-init all-about-cats
to initialize a new presentation. The files are all created, but are zero bytes.
I expected to see the files inside lib/ as the starter content, but that's not the case.
I'm on Node v10.0.0 and NPM v6.0.0
This could completely be the fault of the remote, but when I tried my Kinsington BT remote with the presentation it would not advance slides. On a slide where the image was a bit big, it would scroll, but it wouldn't ever advance to the next slide.
Note for when I need it: start big, go small. Will fix the condition.
Big was used at two GeoMeetup talks tonight:
Three.js
http://bdon.org/talk-2013-1-29.html
function resize() {
var w = window.innerWidth, h = window.innerHeight, e = s[big.current];
e.style.fontSize = h + 'px';
function pass(cinch, start) {
for (var i = start; i > 0 && (e.offsetWidth > w || e.offsetHeight > h); i -= cinch) {
e.style.fontSize = i + 'px';
}
return i + cinch;
}
pass(2, pass(5, pass(10, h - 2)));
e.style.marginTop = (h - e.offsetHeight) / 2 + 'px';
}
Maybe it's possible to express this in less code? Thx @ajashton for flagging the performance problem, I think this gives us a good almost-10x speedup
The node utility approach feels good, but I think it'd be useful for folks to have a click-and-go solution if they know about node servers?
@nickidlugash uncovered a neat bug - presentations with directories with ( and ) symbols yield invalid background strings. This is something that big should handle better, and I think something like using encodeURIComponent would do the tricks.
https://github.com/tmcw/big/blob/gh-pages/big.js#L12
This should set the size to i+cinch after the loop finishes.
why not?
it seems the protips are pretty outdated now that v3 is out. I can update what i've noticed but it might be easier for you to go over it real fast.
otherwise working in v3 has been pretty nice.
If I have a slide like
<div><p>Text</p><img src="image.png"/>text</div>
you'd expect to have something similar to
Text
[image]
text
Big will display the text under certain aspect ratios, but sometimes it will make the image too large and then the text will be pushed off the slide. Putting css on the image to control it's size stops this from happening but ... shouldn't this just work?
a i > 0
does a lot of good.
Tom, I just had an idea. On #L37 there's a conditional which checks the keycode and assigns the fwd/rev methods to them:
document.onkeydown = function(e) {
if (e.which === 39) fwd();
if (e.which === 37) rev();
};
What if instead of a keycode the user could register an array in their HTML file which would append to 37/39. Since Big is already setting up the listener, it could be a simple matter of allowing the user to tap into code that's already there?
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.