@lilonga/output-khan-processing
v0.0.3
Published
Renders input code using Khan Academy's custom Processing.js environment.
Downloads
11
Maintainers
Readme
@lilonga/output-khan-processing
Renders input code using Khan Academy's custom Processing.js environment.
Install
npm install --save @lilonga/output-khan-processingUsage
Try out an editable version of the below example at Repl.it: https://repl.it/@lilonga/output-khan-processing
import React, { Component } from 'react'
import OutputPjs from '@lilonga/output-khan-processing'
class Example extends Component {
render() {
return (
<OutputPjs
width={100}
height={100}
input="line(0,0,100,100)"
/>
)
}
}
export default ExampleAPI
See @lilonga/output-khan-processing docs for more examples and documentation
License
MIT © Luka Kakia
