Coder Social home page Coder Social logo

random-image-generator's Introduction

랜덤 이미지 생성

원하는 패턴의 클래스 생성한 후 make()

클래스 목록

  • Bomb(기본), Bomb2(네 방향 확률 설정), Bomb3(기본 방향, 대각선 방향 확률 설정), Bomb4(여덟 방향 확률 설정)
  • HorizontalStripe
  • FineHorizontalStripe
  • VerticalStripe
  • FineVerticalStripe
  • DiagonalStripe
  • FineDiagonalStripe

예시 코드

RandImgGenerator.java

  • 저장 위치 수정: save()
  • 이미지 크기 수정: field의 width, height

Bomb 생성자

  • 최대 색 차이(int)
  • 확장 확률(double 또는 double[])
  • 개수 설정할 때 나누는 수(int)

Stripe, Fine Stripe 생성자

최대 색 차이(int)

방향

  • 가로(Horizontal)
  • 세로(Vertical)
  • 대각선(Diagonal)

결과 예시

Bomb1 Bomb2 Bomb3 Bomb4
Stripe

random-image-generator's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.