-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
4,593 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
{ | ||
"extends": ["eslint-config-preshape"], | ||
"env": { | ||
"es6": true | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"extends": [ | ||
"plugin:@typescript-eslint/recommended", | ||
"eslint-config-preshape" | ||
], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"rules": { | ||
"indent": "off", | ||
"@typescript-eslint/indent": [2, "error"] | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-member-accessibility": "off", | ||
"@typescript-eslint/indent": "off", | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"react/display-name": [0], | ||
"react/prop-types": [0] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
declare module '*.frag' { | ||
const value: string; | ||
export default value; | ||
} | ||
|
||
declare module '*.vert' { | ||
const value: string; | ||
export default value; | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { Box, Link, Text } from 'preshape'; | ||
import * as React from 'react'; | ||
import data from '../../../data'; | ||
import ProjectPage from '../../ProjectPage/ProjectPage'; | ||
import IntersectionExplorer, { sampleCircles } from '../IntersectionExplorer/IntersectionExplorer'; | ||
import useGraph from '../IntersectionExplorer/useGraph'; | ||
|
||
const CircleGraph = () => { | ||
const graphResult = useGraph(sampleCircles); | ||
|
||
return ( | ||
<ProjectPage { ...data.projects.CircleGraph }> | ||
<Box alignChildrenVertical="middle" flex="vertical" grow maxWidth="1400px"> | ||
<IntersectionExplorer { ...graphResult } /> | ||
</Box> | ||
|
||
<Box> | ||
<Text align="middle"> | ||
This is a Circle Graph Intersection Explorer, | ||
please <Link to="/writings/circle-graphs" underline>see this article</Link> on how | ||
to use and interpret this visualisation. | ||
</Text> | ||
</Box> | ||
</ProjectPage> | ||
); | ||
}; | ||
|
||
export default CircleGraph; |
Oops, something went wrong.