11-09-2022, 01:44 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: Onyx boox air note2
|
generative design and ebooks
Hello,
I am a visual artist, I often read ebooks and I am now trying to experiment with the epub format as an artist. I have done several digital artworks with p5.js so I'm not afraid of coding, but I'm not sure the epub format can achieve what I want to do, this is why I ask your help (maybe ingenuously for the sigil community used to create ebooks). I would like to create a generative ebook using the full possibilities of the reflow specificities. Is it possible to shuffle the chapters order each time the file is opened ? Also, is it possible to gradually change the style of the pages during the reading (maybe using the generated page number value as an increment ?). It could be used to change the font color, the font size, ... while reading, making the ebook a dynamic evolving object. I know I am trying to do what people usually try to avoid when making an ebook, but i think it could be very interesting. I'm pretty sure this could be achieved on a webpage or a computer program but it would be easier to share it as a real ebook on ereaders. Do you think I could do that with sigil ? Thank you for your help |
11-09-2022, 01:57 PM | #2 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
None of that is possible for ebook, and if it were, you wouldn’t be able to rely on it actually behaving that way on the device vs favoring the reader’s preferences. This is the sort of thing that’s better suited to an app.
|
Advert | |
|
11-09-2022, 02:04 PM | #3 |
Resident Curmudgeon
Posts: 74,553
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@RF1 what you want to do is best done as an app.
|
11-09-2022, 11:31 PM | #4 |
Wizard
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Yes, it is perfectly possible by using javascript (epub3). Except for changing the order of the chapters, with javascript you can change everything. Maybe you could play with the function Math.random() and to change font-size, margins, colors, font-family, background colors, etc, etc, etc. And as each time the Math.random() Is called will give different numbers, you can use them to change styles.
|
11-10-2022, 05:30 AM | #5 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
A few years ago Amazon had a great flurry about animated Kindle editions. It died out very quickly. I don't think the option was ever released into the wild; the only such books were published by Amazon itself.
|
Advert | |
|
11-10-2022, 08:58 AM | #6 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: Onyx boox air note2
|
Thanks for your feedback !
I'm going to find out about Kindle Animated Books. Javascript is the base of the p5.js library I am used to ; I wonder if by importing the Html code of a program written in this language into Sigil it could run it as an epub file. I know it would be easier on a web page, but the idea would be rather to query the book form than just text as a stream. |
11-10-2022, 09:13 AM | #7 |
Sigil Developer
Posts: 7,727
Karma: 5444398
Join Date: Nov 2009
Device: many
|
Much is possible in epub3 since it supports javascript. Remember to enable Javascript in Sigil Preferences, then restart Sigil.
|
11-10-2022, 10:27 AM | #8 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
It's been done now for two years, if not longer. Hitch |
|
11-10-2022, 11:43 AM | #9 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: Onyx boox air note2
|
Quote:
I need to learn about the javascript possibilities in epub3. |
|
11-10-2022, 12:54 PM | #10 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
And the same is true for almost all the others. The App Formerly Known as iBooks, ruined name-wise by the Idiots at Apple, has some very limited animation, etc. capabilities. Then you get to desktop readers like Azardi, et al and seriously, how many people use those? I use Azardi for proofing fixed-layout and that's about it. Honestly, just thinking about reflowable formats, with "changeable" animation elements...urgh. Better you than I. If it were me, I'd be considering apps, not eBooks, for what it sounds like what you wish to do. Not only do you have a bigger playground, by far, but earnings-wise, that ground isn't as plowed with failure and very very very cheap offerings. Hitch |
|
11-10-2022, 12:57 PM | #11 | |||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
Quote:
Last time we discussed "Kindle-in-Motion" was:
Yep. I second everything you say. Last edited by Tex2002ans; 11-10-2022 at 01:01 PM. |
|||
11-10-2022, 01:31 PM | #12 |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
"Look, up in the sky! It's a movie--nope, wait, it's a book! Nope, wait...it's neither!"
And there she goes. To my way of thinking, it's the single largest problem. I own two of the KIM eBooks. Yeah, sure, they're nice with all...whatever, ten (10) (?) moving animations but they're hardly The Daily Prophet. I remember when video was first available for ebooks. OMG OMG OMG, everybody had to have it. For about 10 seconds and then when they found out that it didn't sell a single extra copy of the ePUB...I honestly don't think we've been asked for video, outside of one (1) surgery training book, in ten years now. And even in that, they're linked, not embedded. [shrug]. Offered FWIW. Hitch |
11-12-2022, 09:49 AM | #13 |
the rook, bossing Never.
Posts: 11,581
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
An app.
Support for js is in the epub3 spec as well as other stuff best only done in apps or in a browser. Actual ereaders apps mostly only do a subset of epub3, if at all. Most eink readers sold (by volume) don't do epub3 at all and the few that do, only do a subset. Most eink does any animation poorly and few have colour (max about 4,000 variations compared to 32,000 to 16,000,000+ on other screens). Slightly more than 1/2 of ebooks are read on apps rather than eink, but screen size varies from about 4" to 13" for phones and tablets. Many feature in epub3 do little for books and some features needed by books are not in it. It was created when epub management was folded into the group that manages HTML & CSS for browsers, so lost focus on books. Video, interaction, animation and even colour etc is best done using a free off the shelf frameworks for iOS and Android Apps. Anything needing a fixed layout or a minimum screen size is often needing a 8″ or larger tablet. There are three or four epub3 enthusiasts here content to produce content that won't work for about 95% of people that buy ebooks with English (Amazon has over 92% of the English ebook market and epub is only an upload format for them that gets converted to mobi, azw, azw3, and KFX for the actual Kindle or app that a customer has). |
11-12-2022, 11:53 AM | #14 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Suffice to say, I once had a moment, standing next to a designer of some repute, when he went to an event and saw one of his couture creations on a lady of a certain age and general appearance, etc. and honest-to-crap, he made a sound like Chewbacca on his deathbed. Just sayin'. Hitch |
|
11-12-2022, 07:41 PM | #15 |
the rook, bossing Never.
Posts: 11,581
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I think there is market for special sunglasses that go dark when you'd otherwise see dress violations. I forget the proper word. I find visiting town or the shopping mall scary.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Currently, unless one downloads nThe design behind using navbar in downloaded ebooks. | sup | Calibre | 19 | 07-12-2022 01:18 PM |
Ended Oberon Design Classic Nook Cover (Green Celtic Hounds Design) | apastuszak | Flea Market | 2 | 12-12-2011 09:11 AM |
After K3 Design are you underwhelmed with the KDGX Design & Features? | brecklundin | Amazon Kindle | 20 | 07-30-2010 05:36 PM |