-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A brilliant idea #28
Comments
Hi, the code to produce it is in this file: https://github.com/wenyan-lang/book/blob/master/scripts/makeold.py It uses openCV to add noise, blur, warp, grunge etc. to the plain version. The plain version is typeset using this script: https://github.com/wenyan-lang/book/blob/master/scripts/pdf.js |
Thanks! Is there anyway to make it not add the "spine" effect, where there is a line splitting the page in half and half is slightly warped? (and the faint inverted image overlay effect) |
Hi,
I haven't touched the code for a while, perhaps the best way is to comment in/out the lines and just see if it's the effect you want :) |
Thanks for the help! I think the line you indicated for the central fold controls the colour channels, though. I'll keep messing with it. I think I might also write a transpiler from 白話 to 文言... |
Can I ask how you generated the "authentic relic" edition? Just interested for my own purposes haha.
The text was updated successfully, but these errors were encountered: