Comments (5)
Yeah I'm unsure how to fix it. I'm basically using the same image, but when being parsed through the {hexSticker}
pipeline, it seems to pixelate it for some reason. I've tried with using {magick}
as well. Seems that the rendering done by R might degrade the image quality somewhat when dealing with the raster.
I'm going to try and find another workaround to get things looking smooth. I'll set up the PR though for the cartoon.
from r3dmol.
Put together an initial sketch. Thoughts on layout / font / colours?
from r3dmol.
@BradyAJohnston Great work! Did you created the logo by using https://github.com/GuangchuangYu/hexSticker ?
It would be better if the process of creating a logo is reproducible.
from r3dmol.
I have recreated it in the following:
library(hexSticker)
library(showtext)
font_add_google("Courier Prime", "courier")
sticker(
subplot = "inst/logo/cartoon.png",
package = "r3dmol",
s_x = 1.05,
s_y = 0.8,
s_width = 1,
s_height = 1,
dpi = 600,
p_family = "courier",
p_size = 6,
filename = "inst/logo/logo.png",
p_color = "gray5",
h_color = "gray20",
h_fill = "#6CCBFA"
)
from r3dmol.
Emmm, it seems that the resolution of cartoon image is not as good as the previous one. Anyway, Would you might to create a Pull Request to add the high resolution cartoon image to /man/figures/cartoon.png
? I will try to turn the logo and create a favicon to pkgdown site.
from r3dmol.
Related Issues (20)
- Addition of Interactive Buttons HOT 1
- Layout Support HOT 1
- 就是问一下,如何在jupyter lab 里输出图片?虽然貌似不是包本身的问题。 HOT 4
- Next Official Release HOT 7
- Bug about button layout
- predicted 3D structures in *pdb format HOT 3
- How to set the amino acid with special color? HOT 2
- m_png() with wrong result HOT 3
- Function request: resi label with less overlap HOT 1
- Implement `mapAtomProperties` function
- Problems with Widget Resizing Inside `{xaringan}` slides HOT 1
- Bump 3Dmol.js version to 1.7 HOT 2
- m_grid does not update in Shiny app with selectInput HOT 3
- Color by b-factor (spectrum) HOT 13
- Feature request: add colorfunc to argument to m_style_surface() and others HOT 2
- Save image as PNG in Shiny with a download button HOT 2
- How can I export this figure in the ShinyApp HOT 2
- Parts of structure disappear when rotating without m_zoom_to() HOT 2
- CRAN outdates
- m_add_label() prints label at wrong position HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r3dmol.