Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2022, 01:44 PM   #1
RF1
Junior Member
RF1 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: Onyx boox air note2
Question 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
RF1 is offline   Reply With Quote
Old 11-09-2022, 01:57 PM   #2
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
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.
phillipgessert is offline   Reply With Quote
Advert
Old 11-09-2022, 02:04 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Old 11-09-2022, 11:31 PM   #4
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
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.
RbnJrg is offline   Reply With Quote
Old 11-10-2022, 05:30 AM   #5
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
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.
Notjohn is offline   Reply With Quote
Advert
Old 11-10-2022, 08:58 AM   #6
RF1
Junior Member
RF1 began at the beginning.
 
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.
RF1 is offline   Reply With Quote
Old 11-10-2022, 09:13 AM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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.
KevinH is offline   Reply With Quote
Old 11-10-2022, 10:27 AM   #8
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by RF1 View Post
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.
There's nothing to find out, about KIM (Kindle in Motion/aka Animated Books). It was a private, closed system; used on a handful of books, literally, only and then put away. Never distributed to the spine/backbone of formatters, etc. that make eBooks for Amazon, so...it's moot. Those were basically javascript apps, not eBooks, that ran inside a wrapper that allowed them to work on about 30% of "Kindle" devices/readers.

It's been done now for two years, if not longer.

Hitch
Hitch is offline   Reply With Quote
Old 11-10-2022, 11:43 AM   #9
RF1
Junior Member
RF1 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2022
Device: Onyx boox air note2
Quote:
Originally Posted by Hitch View Post
There's nothing to find out, about KIM (Kindle in Motion/aka Animated Books). It was a private, closed system; used on a handful of books, literally, only and then put away. Never distributed to the spine/backbone of formatters, etc. that make eBooks for Amazon, so...it's moot. Those were basically javascript apps, not eBooks, that ran inside a wrapper that allowed them to work on about 30% of "Kindle" devices/readers.

It's been done now for two years, if not longer.

Hitch
That's too bad, it could have been a way to open the epub format to art experiments...

I need to learn about the javascript possibilities in epub3.
RF1 is offline   Reply With Quote
Old 11-10-2022, 12:54 PM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by RF1 View Post
That's too bad, it could have been a way to open the epub format to art experiments...

I need to learn about the javascript possibilities in epub3.
Well, enjoy but you may want to take a minute and figure out what that really means. Just because X is supported in ePUB3 does not mean that it's supported in this reader or that one or that it will work anywhere at all. There are exceedingly few ePUB3 readers that are just rockin' along. Yes, sure, KDP can accept and does process ePUB3, but don't for a nanosecond think that means that you can write js for it. You can't, pretty much.

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
Hitch is offline   Reply With Quote
Old 11-10-2022, 12:57 PM   #11
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by phillipgessert View Post
This is the sort of thing that’s better suited to an app.


Quote:
Originally Posted by phillipgessert View Post
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.


Quote:
Originally Posted by Notjohn View Post
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.
There were only 28 books released, then it died.

Last time we discussed "Kindle-in-Motion" was:

Quote:
Originally Posted by Hitch View Post
There's nothing to find out, about KIM (Kindle in Motion/aka Animated Books). It was a private, closed system; used on a handful of books, literally, only and then put away. [...]

It's been done now for two years, if not longer.
Yep. I second everything you say.

Last edited by Tex2002ans; 11-10-2022 at 01:01 PM.
Tex2002ans is offline   Reply With Quote
Old 11-10-2022, 01:31 PM   #12
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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
Hitch is offline   Reply With Quote
Old 11-12-2022, 09:49 AM   #13
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
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).
Quoth is offline   Reply With Quote
Old 11-12-2022, 11:53 AM   #14
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by Quoth View Post
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).
And honestly...I believe that the querent would be far, far far happier with what s/he could do in an app than an eBook, especially given the limited outlet options. I mean...here's an example I use all the time--you can design, sketch, envision, create a couture dress. You can do that for the Charlize Therons of the world. But when push comes to shove, if the dress is being sold as a sample (common in the modeling world) or even a limited OOR (off the rack) release, you can't control whose body that dress ends up being worn on and you may find that all that effort...well. Possibly wasted a bit?

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
Hitch is offline   Reply With Quote
Old 11-12-2022, 07:41 PM   #15
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
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.
Quoth is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 09:53 PM.


MobileRead.com is a privately owned, operated and funded community.