We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    Flat editorial illustration: The article is about joining public web signals with internal business metrics so BI teams can inter
    Alternative Data in BI: Bringing Public Web Data Into Your Dashboards
    23 Min Read
    Flat editorial illustration: The article is about automating the collection, preparation, and delivery of marketing data across p
    From Data to Dashboards: 5 Marketing Reporting Automation Software Picks
    12 Min Read
    Flat editorial illustration: The article contrasts passive follower totals with a behavioral path from attention and trust to cli
    Creator Analytics Beyond Follower Count: Seven Metrics That Measure Audience Behavior
    11 Min Read
    Flat editorial illustration: The article connects AI and marketing analytics with managerial judgment grounded in consumer behavi
    How an Online MBA in Marketing Connects AI and Data Analytics
    11 Min Read
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers -- AI-generated illustration
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers
    7 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Using R to Create a Logo: Simple
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > R Programming Language > Using R to Create a Logo: Simple
R Programming Language

Using R to Create a Logo: Simple

DavidMSmith
DavidMSmith
3 Min Read
Using R to Create a Logo: Simple
Photo by cottonbro studio on Pexels (https://www.pexels.com/photo/a-woman-typing-on-keyboard-5473337/)
SHARE

R user Josh Reich, who we’ve featured here on the blog before, is also the CEO and co-founder of the new user-friendly bank, Simple. (Confidential to Josh — still waiting on my invite…). So it’s no suprise that Simple’s logo is rendered using the R language:

wave <- function (a, R, p, w) {
    x <- (0.5 + 0.5*R*sin(p+w*a))*cos(a)
    y <- (0.5 + 0.5*R*sin(p+w*a))*sin(a)
    return (cbind(x,y))
}
 
blue <- '#3F8492' 
red <- '#E57660'
 
t <- seq(0, 2*pi, length.out=100)
M<-0.8
plot(c(-1, 1)*M, c(-1, 1)*M, pch='', bty='n')
LWD=7
pinc=2*pi/5
amp <- 0.2
lines(wave(t,amp,0,2), lwd=LWD, col=sprintf('%s%2x', blue, 1.0 * 255))
lines(wave(t,amp,pinc*1,2), lwd=LWD, col=sprintf('%s%2x', red, 1.0 * 255))
lines(wave(t,amp,pinc*2,2), lwd=LWD, col=sprintf('%s%2x', blue, 0.8 * 255))
lines(wave(t,amp,pinc*3,2), lwd=LWD, col=sprintf('%s%2x', red, 0.8 * 255))
lines(wave(t,amp,pinc*4,2), lwd=LWD, col=sprintf('%s%2x', blue, 0.6 * 255))

Created by Pretty R at inside-R.org

Josh made the code above available at github. And here’s the logo you get (if you add axes=F to the plot command):

That’s quite a beautiful and elegant outcome for fewer than 20 lines of code!

More Read

Data Mining Interview: Luis Torgo
Data Mining Interview: Luis Torgo
Poll: R Is the Top Language for Data Science 3 Years Running
Resampling Data in Hadoop with RHadoop
Applications of R at Google
Putting the R in Cloudera and Hortonworks Hadoop

github: simple.R (via Josh)

Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Flat editorial illustration: The article is about joining public web signals with internal business metrics so BI teams can inter
Alternative Data in BI: Bringing Public Web Data Into Your Dashboards
Big Data Business Intelligence Exclusive Web Analytics
Flat editorial illustration: A SaaS-editorial scene showing product usage, support patterns, and renewal feedback informing a fle
Using Product Usage Analytics and Support Data to Build a B2B Product Roadmap
Business Intelligence Infographic
From Hiring To Payroll: Managing HR Data Across Business Systems -- AI-generated illustration
From Hiring To Payroll: Managing HR Data Across Business Systems
Big Data Business Intelligence Infographic
Flat editorial illustration: The article is about automating the collection, preparation, and delivery of marketing data across p
From Data to Dashboards: 5 Marketing Reporting Automation Software Picks
Analytics Business Intelligence Exclusive Marketing

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

Alpha Testing RevoScaleR Running in Hadoop
AnalyticsHadoopR Programming Language

Alpha Testing RevoScaleR Running in Hadoop

8 Min Read
New Online R Courses from Statistics.com
AnalyticsR Programming LanguageStatistics

New Online R Courses from Statistics.com

4 Min Read
An Analysis of the R-help Mailing List
AnalyticsR Programming Language

An Analysis of the R-help Mailing List

3 Min Read
Population health management with RevoScaleR
Data MiningR Programming Language

Population health management with RevoScaleR

5 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

5 Great Tips for Using Data Analytics for Website UX
5 Great Tips for Using Data Analytics for Website UX
Big Data
Artificial Intelligence for eCommerce: A Closer Look
Artificial Intelligence for eCommerce: A Closer Look
Artificial Intelligence

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?