GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - psyclone20/Android-Pattern-Generator: A Java program that uses DFS to generate all the possible patterns on a traditional 3x3 Android lock screen

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
output
output
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Android Pattern Generator

A Java program that uses DFS to generate all the possible patterns on a traditional 3x3 Android lock screen.

A valid pattern must satisfy the following constraints: (source)

  • Must connect at least four dots.
  • All dots in the pattern must be distinct.
  • If the line segment connecting any two consecutive dots in the pattern passes through any other dots, those other dots must have previously been in the pattern.

Output

The program generates all the possible 389,112 patterns and creates 2 files:

  • sequential.txt that contains the patterns arranged sequentially
  • shuffled.txt that contains the patterns arranged randomly

For reference, the numbers in the output are mapped to the points as:

0     1     2


3     4     5


6     7     8

Sample 1 Sample 2 Sample 3

See the visualizer page in action

About

A Java program that uses DFS to generate all the possible patterns on a traditional 3x3 Android lock screen

psyclone20.github.io/Android-Pattern-Visualizer/

Topics

androidbacktrackbacktrackingbacktracking-algorithmbacktracking-searchdepth-first-searchdfsdfs-algorithmlockscreenpattern

Resources

Readme
MIT license
Activity

Stars

6 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.