Commit Graph

486 Commits

Author SHA1 Message Date
janis
bd246fe801 background image now in 2022-12-22 16:58:20 +01:00
Falco Nogatz
972dc413f3 Add .slideView or .preView classes in speaker console view (#827) 2022-12-19 07:55:17 -08:00
janis
7112b26d24 added a nav menu 2022-12-14 12:17:13 +01:00
janis
0c651e3f28 update README.md 2022-12-14 09:25:48 +01:00
janis
08d3fc8dfd readme + more styling 2022-12-14 08:06:36 +01:00
janis
8fdc291f15 lots more styling 2022-12-13 17:19:41 +01:00
janis
f7da68b483 first styling of website 2022-12-13 13:36:43 +01:00
janis
0f1cf6e52b basic html for index.html & docs 2022-12-12 21:42:25 +01:00
janis
3c3bc09ed2 base html layout of index.html 2022-12-12 21:20:42 +01:00
janis
fa0431f913 Added first code for website 2022-12-12 20:54:56 +01:00
janis
0b72574ba5 restructoring of repo 2022-12-12 19:52:22 +01:00
janis
d4aecd2088 removed plugins getting started guide from this pr 2022-12-12 19:48:53 +01:00
janis
0e72ee634d added plugins getting started guide 2022-12-12 19:46:02 +01:00
janis
7f6b1ab8fd remove code from other pr 2022-12-12 18:04:52 +01:00
janis
7b4759fdc1 removed getting started guide from this pr 2022-12-12 17:57:15 +01:00
janis
16af2ca369 bugfix 2022-12-12 17:40:57 +01:00
janis
6fde217032 removed the notes bugfix 2022-12-12 17:39:31 +01:00
janis
229a5d7d66 removed the notes bugfix 2022-12-12 17:39:13 +01:00
janis
10a585ae8d Revert "clean up"
This reverts commit 40a3766b37.
2022-12-12 08:41:23 +01:00
simplePCBuilding
070b6a0fc4 Merge branch 'impress:master' into master 2022-12-12 07:33:18 +00:00
janis
40a3766b37 clean up 2022-12-12 08:33:01 +01:00
Falco Nogatz
64d66bf77f Replace backslashes by slashes in href to CSS (#828) 2022-12-11 17:03:49 -08:00
simplePCBuilding
a167dfccec Update README.md 2022-11-30 20:18:27 +00:00
simplePCBuilding
7aff9bf8ac Update GettingStarted.md
Fixed an error and added more infos
2022-11-30 06:47:29 +00:00
janis
83fd6b618f some more missing spaces 2022-11-29 19:35:32 +01:00
janis
4978f8bcdd fixed other errors 2022-11-29 19:32:36 +01:00
janis
548b4c5e9a fixed the errors in check 2022-11-29 19:29:38 +01:00
janis
a26426b081 Improved "notes" hiding 2022-11-29 19:20:53 +01:00
janis
9889fd4d38 Added a Getting Started guide 2022-11-29 19:20:19 +01:00
thawk
b572362c3a Auto guess slide title from first non-blank line (#821)
* Auto guess slide title from first non-blank line
* If line content is too long, trim to the first 40 bytes
2022-10-17 08:39:54 +08:00
thawk
0d52faa60d Fix incorrect tag in 3D-positions example (#822) 2022-10-09 23:16:02 +03:00
thawk
f8dd0e92b4 Improve markdown support. (#817)
1. Support `marked`, you can using it instead. #811
2. Auto trim the indentation, so it can be indent like regular HTML.
   #812
2022-08-19 11:57:48 +03:00
thawk
dc3cf69747 Fix issue that data-x/y/z can't use relative-to-screen-size unit. (#815) 2022-07-21 21:49:39 +03:00
Henrik Ingo
78c954ac09 Change default target resolution to HD 1920x1080.
If you aren't setting target width and height explicitly in the root div,
this change will likely affect the size and layout of your presentation
steps. See DOCUMENTATION.md for details and how to fix.
2022-05-29 11:41:25 +03:00
Henrik Ingo
20cd28ff00 Add fsevents to package-lock.json 2022-05-29 11:41:06 +03:00
Christoph Neumann
bc3612118a Fix impress().lib.util reference in blackout.js (#810) 2022-05-02 16:33:18 +03:00
thawk
629f7686f3 Add relative move and rotate to rel plugin (#794)
The relative position in rel plugin is currently based on the world coordinate. So for the same effect, like fly in from the right-hand side, we must use different `data-rel-x/y/z` value. Why not let the plugin do the hard part?

So I introduce a `data-rel-position`, when set to `relative`, all relative attribute is based on the position and rotation of previous slide. So no matter the rotation of previous slide, data-rel-x="1000" always looks like fly in from the right-hand side. We can change the position and rotation of one slide, and the position of all following slides will be changed too.

When `data-rel-position` is set to `relative`, relative rotation has a clear meaning. It describes the relative rotations between slides. We don't need to set rotations for all slide, setting the key slides is enough. If `data-rel-position` is not relative, the effect of `data-rel-rotate-x/y/z` is not clear, so they're only used when `data-rel-position="relative"`.

After the introduction of relative rotation, there're 6 attribute that will inherit from previous slide. If we want to set a relative X move, we have to set all other 5 attributes to 0. It's boring. So a `data-rel-clear` is used to set all 6 attributes to 0, and then the value specified in current slide is applied. 

The `examples/3D-positions/index.html` shows some usage. As you can see, the html code of two slide ring is the same, and slides except for the first two in a ring has no position attributes. It work by inheriting the previous one.

This PR invokes a lot math calculations. Basically, the rotation of a slide is translated into the coordinate describing the directions of X/Y/Z axes. And `data-rel-x/y/z` can be easily calculated by that. The rotations is the hard part, I mainly use the algorithm in the Quaternions and spatial rotation - Wikipedia to compose two and more rotations.  I'm not a math guy, hope I don't make much mistakes.
2022-04-24 21:37:50 +03:00
thawk
d3760dfa0a make data-x/y/z supports relative-to-screen size (#804) 2022-02-13 12:35:52 +02:00
thawk
20f74a8b56 Fix relative-to-screen-size calculation (h and w) (#799) 2022-01-30 17:17:56 +02:00
hugocvx
ecbdd43ca8 use element title as navigation select option text when available (#803) 2022-01-30 17:06:42 +02:00
thawk
4bceee7fd2 use decodeURIComponent() to get ID from URL hash 2021-08-03 13:22:23 +03:00
Ikko Ashimine
63dba5f128 Update impress.js 2021-07-28 22:05:03 +03:00
Ikko Ashimine
762bdd8da4 Fix typo in impress.js
transtion -> transition
2021-07-28 22:05:03 +03:00
thawk
e366207cea apply markdown dialect to all elements 2021-07-28 11:01:40 +03:00
Henrik Ingo
f68e5fff29 Pimp the cube demo a bit.
I always wanted to do it this way. Today finally had some free time to
hack it this weekend.
2021-02-27 14:52:33 +02:00
Daniel Sockwell
4c9d2e38aa Add ability to specify substep order (#779)
The substep plugin currently shows each substep in the order in which
it appears in the HTML.  This is not always an ideal fit for some
presentation styles, where it would be helpful to specify a different
order (e.g., to add annotations to an image).

This commit allows users to specify a custom order via the
`data-substep-order` attribute.  Substeps without a
`data-substep-order` attribute are revealed last.

This commit also updates the Substep README to document the new
feature.
2021-02-26 16:24:10 +02:00
Bartek Szopka
4229a3e25c @bartaz removes himself from tutorial text ;) (#777) 2021-01-04 18:56:36 +02:00
Henrik Ingo
dcc8446788 Remove npm-update from CircleCI (#778)
It started failing 2 months ago and shouldn't be needed at all.
2021-01-03 20:31:27 +02:00
kdxcxs
d0c427f172 Support Chinese in impressConsole (#774) 2020-10-11 10:42:48 +03:00
Tim Gates
d8e2f17f95 docs: Fix simple typo, glithes -> glitches (#773) 2020-09-13 20:33:02 +03:00